I have 2 tables:
Table1:
ID | Mobile Number | Name | Ordered Product| Order Date
Table2:
You can also try this way.
Select * from table1 a left join (Select * from table2 where id in (select max(id) from table2 group by id) ) b on a.id=b.id