Hello all,
 
   I have a query ->
i have 2 tables -> client and project
 
fields in project table ->   clientid/projectid
fields in client table -> clientid/name
 
i want to get the maximum orders one client has got.   i mean a project having the greatest clients
how to write it in single query ??
 
 
like
project 1    client 1
project 2    client 1
project 3    client 2
 
in the above case, the query should return client ( 1 ).
 
Thanks and regards,
Santosh

Reply via email to