Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question# 3 : ( Select all answers that are true ) Which of the following SQL queries uses proper syntax and displays sales reps in

Question#3:
(Select all answers that are true)
Which of the following SQL queries uses proper syntax and displays sales reps in the city of Auburn sorted by last name and then on first name (select all that are correct):
a) SELECT * FROM rep WHERE city is 'Auburn' ORDER BY last_name, first_name;
b) SELECT * FROM rep WHERE city = 'auburn' ORDER BY last_name DESC, first_name ASC;
c) SELECT * FROM rep WHERE city = 'Auburn' ORDER BY last_name, first_name DESC;
d) SELECT * FROM rep WHERE city = 'Auburn' ORDER BY last_name AND first_name;
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

How did you feel about taking piano lessons as a child? (general)

Answered: 1 week ago