比如在Northwind数据库中有一个查询为SELECT c.CustomerId,CompanyName FROM Customers cWHERE EXISTS(SELECT OrderID FROM Orders o WHERE o.CustomerID=c.CustomerID) 这里面的EXISTS是...
检索单个列:select 列名 from 表名;例:select ename from emp;检索多个列: select [列1,列2, ... ,列N] from 表名;例:select ename , sal from emp;检索所有列:select * from 表名;例:select * from......