Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
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.
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 shownStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started