Question: 2. Write a query that reports the columns in reverse order (the rightmost column should appear on the left, etc.) 5. Write a query that

2. Write a query that reports the columns in reverse order (the rightmost column should appear on the left, etc.)

5. Write a query that reports each person's first and last names as separate columns, and their birthdate.

*/ create table salespeople ( fullname text, birthdate date, hiredate date, q1sales integer, q2sales integer, q3sales integer, q4sales integer ); insert into salespeople values ('Bob Belcher', '2011-1-9', '2015-1-10', 200, 300, 100, 400), ('Linda Belcher', '2011-1-9', '2014-1-15', 230, 400, 125, 410), ('Jacob Collier', '1994-8-2', '2005-4-30', 245, 100, 100, 100), ('Saoirse Ronan', '1994-4-12', '2005-5-4', 120, 280, 175, 300), ('Bill Bruford', '1940-5-17', '1985-11-4', 400, 450, 100, 100);

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!