SQL子查询、多表查询、联合查询

一、select * from ta1 where id in (select id form tb2 where ... ) 属于“子查询”。 二、select ta1.*, ta2.* from tab1, tab2 where ta1.[字段]=ta2.[字段] 属于“多表查询”。 三、如:(select * from ta1 where ...) union (select * from
相关文章
相关标签/搜索