You've just been hired as a data analyst for a tech startup. Your first task is to extract specific data from the company's database. You need to find out the names and ages of all employees over the age of 30, then order the results by age in descending order. The syntax for the SQL query has already been partially written, but certain key parts are missing. Can you fill the blanks in code to solve this task?
SELECT FROM statement
Extracting and sorting employee details in a database
Report a typo
Fill in the gaps with the relevant elements
name, age
employees
age > 30
age DESC;Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.