三、在名为商品库的数据库中包含有商品规格表Content和商品特性表Property,它们的定义分别为:
Content(Code Char(10),Class Char(8),Price Float,Number Int)
Property(Code Char(10),Place Char(12),Brand Char(15))
(1)写出下面查询语句的作用;
Select Distinct Brand From Property
(2)从商品库中查询出每类商品的最高单价
(3) 从商品库中查询出同一类商品多于一种的所有分类名
1、从property中查询不重复的brand字段
2、SELECT class,MAX(price) FROM content GROUP BY class
3、SELECT class FROM content GROUP BY class HAVING count(class) > 1