Question
1. Which of the following is an invalid SQL keyword? For each employee, the query will display the name and the salary increased by 15
1. Which of the following is an invalid SQL keyword?
For each employee, the query will display the name and the salary increased by 15 dollars | ||
For each employee, the query will display the name, the salary, all other columns from the table employee, and the number 1.15 | ||
For each employee, the query will display the name and the salary increased by 15% | ||
For each employee, the query will display the name and 15% of the salary |
2.
What is the result of the following SQL query?
SELECT ename
FROM employee
WHERE esalary = (SELECT MAX(esalary) FROM employee);
The query displays the number that represents how many employees share the highest salary | ||
The query displays the number that represents how many employees share the highest salary | ||
The query displays the name and the salary of the employee (or employees) with the highest salary | ||
The query displays the name of the employee (or employees) with the highest salary |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started