Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following tables. ( 1 0 pts ) table [ [ table [ [ sql > select * from students; ] ,

Consider the following tables. (10 pts)
\table[[\table[[sql>select * from students;],[student_id | name]],| surname || department,\table[[sql> select * from grades;],[student_id | course_code | grade]]],[20201|| John,| Cash,| CENG,20186|| CS3003,86],[20193|| Mark,| Twish,| EENG,20207|| CS3003,75],[20186|| Mary,| Hall,| CENG,20201|| CS3003,81],[20198|| Jule,| Carter,| EENG,20198|| CS3003,90],[20207|| Martin,| Hary,| CENG,20198|| CS3001,86],[20195|| Lorry,| Bond,| CENG,20195|| CS3003,74],[20192|| Jane,| York,| EENG,20192|| CS3001,67],[,,,20193|| CS3001,83],[,,,20192|| CS3003,79]]
Write the smallest SQL that will produce EXACTLY the following output using the table above:
a)
\table[[CENG 4,b)
\table[[CS300178.66],[EENG 3]],],[,CS300380.83,],[,,]]
c)
\table[[CS30018667],[CS30039074],[]]
d)
201922
201982
e)
EENG CS300178.6 EENG CS300384.5 CENG CS300379.0
\table[[a),],[b),],[c),],[d),],[e),]]
Note: Please post handwritten solutions to the online system in a well-format single PDF document.
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

Stage Management

Authors: Lawrence Stern, Jill Gold

12th Edition

0367647893, 978-0367647896

More Books

Students also viewed these General Management questions

Question

How do we untangle this complex knot of interacting variables?

Answered: 1 week ago

Question

What do you plan on doing upon receiving your graduate degree?

Answered: 1 week ago