testing query on 2 tables