Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Which SQL command uses the correct syntax to select the name and salary columns from the Employee table, where the salary is greater than 5
Which SQL command uses the correct syntax to select the name and salary columns from the Employee table, where the salary is greater than and sort the results by salary in descending order?
SELECT Employee.name, Employee.salary WHERE Employee.salary SORT BY Employee.salary DESC;
SELECT name, salary FROM Employee SORT BY salary DESC WHERE salary ;
SELECT name, salary FROM Employee WHERE salary SORT BY salary ASC;
SELECT name, salary FROM Employee WHERE salary ORDER BY salary DESC;
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