quick me query change from join to left join for fetching data