通过SQL,您如何返回“Persons”表中记录的数目()。
A.SELECTCOLUMNS(*)FROMPersons
B.SELECTCOUNT()FROMPersons
C.SELECTCOLUMNS()FROMPersons
D.SELECTCOUNT(*)FROMPersons
![](https://lstatic.shangxueba.com/sxbcn/h5/images/tips_org.png)
A.SELECTCOLUMNS(*)FROMPersons
B.SELECTCOUNT()FROMPersons
C.SELECTCOLUMNS()FROMPersons
D.SELECTCOUNT(*)FROMPersons
第1题
A.SELECT*FROMPersonsORDERFirstNameDESC
B.SELECT*FROMPersonsORDERBYFirstNameDESC
C.SELECT*FROMPersonsSORTBY'FirstName'DESC
D.SELECT*FROMPersonsSORT'FirstName'DESC
第2题
A.SELECT[all]FROMPersonsWHEREFirstName='Peter'
B.SELECT*FROMPersonsWHEREFirstName='Peter'
C.SELECT*FROMPersonsWHEREFirstNameLIKE'Peter'
D.SELECT[all]FROMPersonsWHEREFirstNameLIKE'Peter'
第6题
A.删除student表
B.删除student字段
C.删除student表中的记录
D.删除student数据库
第9题
A.A.Account表中id为1的记录中balance字段的值被修改为7800
B.B.Account表中id为1的记录中balance字段的值被修改为9000
C.C.Account表中id为1的记录中balance字段的值不变
D.D.不可能发生这种情况
第10题
A.在sqlcontext.sql中直接使用sql读取hive表
B.在sqlcontext.sql中直接使用sql操作dataframe对象
C.在sqlcontext.sql中直接已经在sparksql中注册为表的对象
D.在sqlcontext.sql中直接使用sql读取mysql表
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!