使用SQL语句从表STUDENT中查询所有姓王的同学的信息,正确的命令是:A)SELECT*FROM STUDENT WHERE LEFT(姓名,2)=“王”B)SELECT*FROM STUDENT WHERE RIGHT(姓名,2)=“王”C)SELECT*FROM STUDENT WHERE TRIM(姓名,2)=“王”D)SELECT*FROM STUDENT WHERE STR(姓名,2)=“王”
第1题:
使用SQL语句从表STUDENT中查询所有姓王的同学的信息,正确的命令是:
A.SELECT*FROM STUDENT WHERE LEFT(姓名,2)=“王”
B.SELECT*FROM STUDENT WHERE RIGHT(姓名,2)=“王”
C.SELECT*FROM STUDENT WHERE TRIM(姓名,2)=“王”
D.SELECT*FROM STUDENT WHERE STR(姓名,2)=“王”
第2题:
从学生表student查询学生的所有信息,正确的语句是______。
A.SELECT # FROM student
B.SELECT * FROM student
C.SELECT ? FROM student
D.SELECT _ FROM student
第3题:
1、从学生表student查询学生的所有信息,正确的语句是______。
A.SELECT # FROM student
B.SELECT * FROM student
C.SELECT ? FROM student
D.SELECT _ FROM student
第4题:
从数据表student中查询张姓的所有学生,正确的SQL语句是()。
A.SELECT sno,sname FROM student WHERE sname LIKE N'张%'
B.SELECT sno,sname FROM student WHERE sname LIKE N'%张%'
C.SELECT sname FROM student WHERE sname = N'张%'
D.SELECT sname FROM student WHERE sname = N'%张%'
第5题:
6、从学生表student查询学生的所有信息,正确的语句是______。
A.SELECT # FROM student
B.SELECT * FROM student;
C.SELECT ? FROM student;
D.SELECT _ FROM student;