试题详情

在SQL Server数据库中,要得到在products表中最贵的产品名称和价格,以下查询语句正确的有( )【选两项】

ASELECT top 1 productname,Unitprice FROM products order by Uniprice Desc

BSELECT productname,MAX(Unitprice ) FROM products

CSELECT productname,Unitprice FROM products WHERE Unitprice=(SELECT MAX(Unitprice) FROM products)

DSELECT productname,MAX(Unitprice ) FROM products ORDER By productname