I ran this query on my database and it worked perfectly. Thanks lestrois!