Hi,
I have 'Order' table which has many account nos for a particluar tel no.
So if i query
i can get one or more than one records.
Now i have a set of telnos for which i want to retreive records for each telno with inid as max.
How do i do it.
TIA
I have 'Order' table which has many account nos for a particluar tel no.
So if i query
Code:
select * from orders where telno = '1234' order by inid;
Now i have a set of telnos for which i want to retreive records for each telno with inid as max.
Code:
select * from orders where telno in ('1234','5678',...)
How do i do it.
TIA