1.AVG() 求平均数 select avg(prod_price) as avg_price from products; --返回商品价格的平均值 ; --返回生产商id为1003的商品价格平均值 2.COUNT():确定表中行的数目或者符合特定条件的行的数目 select count(*) as num_cust from customers; --统计customers表中的顾客数 select count(email) as num_cust from customers; --统计…