THE QUERY FINALLY WORKS!!!!!!