作用:返回匹配指定条件的行数。博智达直线电机平台
语法:SELECT COUNT(*) FROM table_name
//计算客户 "Carter" 的订单数 SELECT COUNT(Customer) AS CustomerNilsen FROM Orders WHERE Customer='Carter';