selecttop50*from ( selectdistinct author as uid ,info_count=(selectcount(0) from info where info.author=t.author ), exp_count=(selectcount(0) from info where info.author=t.author andexp>2) from info t where infolawid>0 ) as x orderby x.exp_count desc