mySQL 子查询

子查询嵌套在查询内部, 并且必须出现在圆括号内。

使用比较运算符的子查询

any

all

some

not in 或者exists

插入记录使用子查询:

insert into table1 select * from table2

posted @ 2019-01-10 16:17  帕丁顿  阅读(81)  评论(0)    收藏  举报