My query works until I add the JOIN and WHERE statements. I need to JOIN the id from another table so I can filter only the rows I want. Any advice? Help is appreciated.