could not find a way to get subqueries to work with sequelize so I used raw querying. I am trying to figure out how to get data from associated tables when I do a raw query.