子查询嵌套在查询内部, 并且必须出现在圆括号内。
使用比较运算符的子查询
any
all
some
not in 或者exists
插入记录使用子查询:
insert into table1 select * from table2