sql中的两个简单嵌套

sql中的两个简单嵌套:sql 1.orm select *from table1  where name1>(select name2 from table2);table 2.select *form (select name1 from table1 where id>3) as t1;form 该语句中是从一个表的查询结果中进行查询,被括号的子查询必定要定义别名,不然系统会报错。selec
相关文章
相关标签/搜索