[SQL Query] any efficient way ?

Printable View