Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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.

image text in transcribed

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

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_2

Step: 3

blur-text-image_3

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

Introduction To Constraint Databases

Authors: Peter Revesz

1st Edition

1441931554, 978-1441931559

More Books

Students also viewed these Databases questions

Question

How do I solve questions 17, 18, 19, 20, and 21?

Answered: 1 week ago