Question: SQL: Here I have what I am having to write in SQL to get the results are shown. This is what I have. But it

SQL:

Here I have what I am having to write in SQL to get the results are shown.

SQL: Here I have what I am having to write in SQL

This is what I have. But it wont give me any results. I have determined that it might be something wrong with my WHERE query statement. Please HELP.

to get the results are shown. This is what I have. But

MY QUERY:

SELECT courseid, sectionid, To_Char(sectionstartdate, 'YYYY-MM-DD HH:MI AM') AS sectionstarttime, professorid, capacity FROM sections WHERE To_Char(sectionstartdate, 'YYYY-MM-DD HH:MI AM') = '2019-09-11' ORDER BY sectionstartdate DESC, courseid;

3. List the course ID, section ID, section start date as shown, professor ID and capacity for all sections with a section start date of Sept 11 2019. Arrange the list by start date in reverse order then course ID. Format date and time as shown

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!