Thursday, 15 August 2013

What's the meaning of this sql statement (order by count(*))?

What's the meaning of this sql statement (order by count(*))?

What could be the meaning of this sql statement ?
select * from tab1 order by (select count(*) from tab2) desc

No comments:

Post a Comment