单项选择题
A.付款方式不能是信用卡。 B.付款方式不能是信用卡,或者信用卡是阳光卡。 C.如果付款方式是信用卡,那么信用卡不能是阳光卡。 D.付款方式是信用卡,并且信用卡不能是阳光卡。
A.MAX B.COUNT C.NOT D.MIN
A.select * from student where rowcount=5 B.select TOP of 5*from student C.select TOP5 * from student D.select * from student where rowcount<=5
A.select top1*from book order by price asc B.select top1*from book order by price desc C.select top1*from book where price D.select top1*from book where price=max(price)
A.MAX B.SUM C.MONTH D.AVG
A.主键 B.公共字段 C.组合键 D.以上都是
A.Sum返回表达式中所有数的总合,因此只能用于数字类型的列。B.Avg返回表达式中所有数的平均值,可以用于数字型和日期型的列。C.Max和Min可以用于字符型的列。D.Count可以用于字符型的列。
A.使用groupby进行分组查询 B.对分组后的结果进行条件查询必须使用Having子句 C.Having子句不能与where子句同时出现在一个select语句中 D.在使用分组查询时,在select列表中只能出现被分组的字段。
A.外联接查询返回的结果集行数可能大于所有符合联接条件的结果集行数。 B.多表联接查询必须使用到JOIN关键字 C.内联接查询返回的结果是:所有符合联接条件的数据。 D.在where子句中指定联接条件可以实现内联接查询。
A.Select name as’姓名’from table B.Select name as姓名from table where id=1 C.Sleect name=姓名from table姓名=names(正确答案) D.Select names姓名from table
A.select max(score)from grade B.select top1score from grade order by score asc C.Select min(score)fromgrade D.select top1score from grade order by score desc