关于group by 以下语句正确的是( )A.SELECT store_name FROM Store_Information GROUP BY store_nameB. SELECT SUM(sales) FROM Store_Information GROUP BY salesC.SELECT store_name, price SUM(sales) FROM Store_Information GROUP BY store_name,priceD.SELECT store_name, SUM(sales) FROM Store_Information GROUP BY store_name
关于group by 以下语句正确的是( )
A.SELECT store_name FROM Store_Information GROUP BY store_name
B. SELECT SUM(sales) FROM Store_Information GROUP BY sales
C.SELECT store_name, price SUM(sales) FROM Store_Information GROUP BY store_name,price
D.SELECT store_name, SUM(sales) FROM Store_Information GROUP BY store_name
相关考题:
已知商品表的关系模式为:商品(商品编号,名称,类型),使用SQL语句查询类型为"电器"的商品信息,以下正确的是()。A.SELECT*FROM商品GROUPBY类型B.SELECT*FROM商品WHERE类型="电器"C.SELECT*FROM商品WHERE类型=电器D.SELECT*FROM商品WHILE类型="电器"
下列SELECT语句语法正确的是( )。 A.SELECT*FROM’教师表’WHERE 性别=’男’ B.SELECT*FROM’教师表’WHERE 性别=男 C.SELECT*FROM教师表WHERE 性别=男 D.SELECT*FROM教师表WHERE 性别=’男’
对由SELECT—FROM—WHERE—GROUP—ORDER组成的SQL语句,其在被DBMS处理时,各子句的执序次序(43)。A.SELECT—FROM—GROUP—WHERE—ORDERB.FROM—SELECT—WHERE—GROUP—ORDERC.FROM—WHERE—GROUP—SELECT—ORDERD.SELECT—FROM—WHERE—GROUP—ORDER
与“SELECT*FROM教师表INTO DBF A”等价的语句是A.SELECT*FROM教师表TO DBF AB.SELECT*FROM教师表TO TABLE AC.SELECT*FROM教师表INTO TABLE AD.SELECT*FROM教师表INTO A
与“SELECT*FROM教师表INTO DBF A”等价的语句是( )。A.SELECT*FROM教师表TO DBF AB.SELECT*FROM教师表TO TABLE AC.SELECT*FROM教师表INTO TABLE AD.SELECT*FROM教师表INTO A ,
下列SELECT语句语法正确的是( )。A.SELECT* FROM′teacher′WHERE性别=′男′B.SELECT*FROM ′teacher′ WHERE性别=男C.SELECT* FROM teacher WHERE性别=男D.SELECT* FROM teacher WHERE性别=′男′
对由SELECT--FROM—WHERE—GROUP--ORDER组成的SQL语句,其在被DBMS处理时,各子句的执行次序为()A.SELECT—FROM—GROUP—WHERE—ORDERB.FROM——SELECT--WHERE——GROUP——ORDERC.FROM——WHERE——GROUP——SELECT——ORDERD.SELECT——FROM——WHERE——GROUP——ORDER
下列SELECT语句语法正确的是()。A.SELECT * FROM '教师表' WHERE 性别='男'B.SELECT * FROM '教师表' WHERE 性别=男C.SELECT * FROM 教师表 WHERE 性别=男D.SELECT * FROM 教师表 WHERE 性别='男'
下列SELECT语句语法正确的是 。A.SELECT * FROM '学生表’WHERE 性别='男’B.SELECT * FROM '学生表’WHERE 性别=男C.SELECT * FROM 学生表 WHERE 性别=男D.SELECT * FROM 学生表 WHERE 性别=‘男‘
SELECT语句中必选的子句是()A.SELECT…FROMB.SELECT…FROM…WHEREC.SELECT…FROM…ORDER BYD.SELECT