select a,b,c into productstemp from products
在SELECT语句中使用子查询
select * from distibutors where hsienshi_code=
(select hsienshi_code
from distributors
where boss_name='张江悦')
select supp_name form tablename where a in
(select distinct supp_code
from products where descriptions='主机板')
使用UNION运算符
SELECT statement1 UNION SELECT statement2
UNION会删除重复的记录