Question: SQL 6. 1. Challenge Ordering queries A sql-1-2.sql file has been created and opened for you. Write each of the following SQL statements in a

SQL

6. 1. Challenge

Ordering queries

A sql-1-2.sql file has been created and opened for you.

Write each of the following SQL statements in a new line:

1 - Use the people database

2 - Display the surname column from the names table.

3 - Query only the name and id columns of the names table and sort the results by id in descending order.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!