Have the sql queries but can't tell if the q is right