单项选择题
计算stu表中score列总分数的sql语句正确的是()。
A.select avg(score)from stu
B.select max(score)from stu
C.select min(score)from stu
D.select sum(score)from stu
点击查看答案&解析
相关考题
-
单项选择题
在SQL语句中,可以使用()子句设置查询条件,如查询年龄大于18的数据。
A.where
B.group by
C.ather
D.limits -
单项选择题
mysql中创建数据库abc,以下命令正确的是()。
A.drop table abc
B.create table if exists abc
C.create database abc
D.create table abc -
单项选择题
如果存在stu表,则将其删除的SQL语句是()。
A.drop table to stu
B.drop table stu
C.drop table if exists stu
D.create table stu
