[sql] Select * from subquery