Employee 表中LastName列保存顾客的姓,FirstName列保存顾客的名。现在,需要查询顾客姓名的组合,例如,LastName列中的“张”,同一行FirstName列中的“国华”,查询结果应该返回“张国华”,则正确的查询语句应该是()。
A: SELECT LastName, FirstName FROM Employee
B: SELECT SName, SYSTEM_USER AS 查询用户 FROM Students
C: SELECT SName, 查询用户 FROM Students
D: SELECT SName, SYSTEM_USER=查询用户 FROM Students
A: SELECT LastName, FirstName FROM Employee
B: SELECT SName, SYSTEM_USER AS 查询用户 FROM Students
C: SELECT SName, 查询用户 FROM Students
D: SELECT SName, SYSTEM_USER=查询用户 FROM Students
举一反三
- employee表中lastname列保存顾客姓,firstname列保存顾客的名,现在,需要查询顾客的姓名的组合,例如,lastname列中的”张“,同一行firstname列中的”国华“,查询结果应该返回”张国华“,则正确的查询语句应该是( ) A: select lastname,firstname from employee B: select * from employee order by lastname,firstname C: select lastname+firstname from employee D: select lastname and firstname from employee
- Employees表中lastname列保存顾客的姓,firstname列保存顾客的名。现在需要查询顾客姓名的组合,例如lastname列中的“张”,同一行firstname列中的“国华”,查询结果应该返回“张国华”,则正确的查询语句应该是() A: select lastname,firstname from employees B: select * from employees order by lastname,firstname C: select lastname+firstname from employees D: select lastname and firstname from employees
- Employee 表中LastName列保存顾客的姓,FirstName列保存顾客的名。现在,需要查询顾客姓名的组合,例如,LastName列中的“张”,同一行FirstName列中的“国华”,查询结果应该返回“张国华”,则正确的查询语句应该是()
- 在员工管理系统中,查询表employee表中所有员工的姓名,字段:id(int),firstname(varchar),lastname(varchar),以下sql语句正确的是()。 A: Select firstname +’.’+ lastname as ‘name’ from employee B: Select firstname +’.’+ lastname from employee C: Select ‘name’= firstname +’.’+ lastname from employee D: Select firstname,lastname from employee
- 在MySQL中,查看学生表Students表中的姓名Sname属性的SQL语句表达正确的是( )。 A: SELECT * FROM Students B: SELECT * FROM Students WHERE Sname="" C: SELECT Sname FROM Students D: SELECT Sname FROM Students WHERE Sname=""