FROM 子查询 SQL 如下:
SELECT s1,s2 FROM (SELECT s1, s2*2 AS s2 FROM table1) AS temp WHERE s1 > 1
查询返回结果如下所示:
MySQL FROM 子句中的子查询可以返回标量、列、行、表但不能为有关联的子查询。
0