I want fetch data from 2 tables but i want all data from 1st table and i want some data from 2nd table. So how to fire mysql query? Please help me...
Smells of a Left Inner Join, but we're going to need more information. What are the tables' structures, what data do you want from each, how are the tables linked?
You need to use primary key from table_1 and use JOIN to fetch data from table_2. If have a problem with that contact me by PM.