join query with where condition