Consider Following Tables. Student ( regNo, sName, sCity, sCGPA, sAge) Course ( cCode, cName, credit_hours) Enrollment (regNo, cCode, semester, Grade)   Write SQL queries for the following statements. NOTE: you must use “CARTESIAN PRODUCT” query only. Display names of all those students who have “A”       Display student name and ccode of all those students who have ‘F’ grade in 5th       Display data of all those students who have enrolled at least 10       Display grade of ‘Ali’ in course ‘CS101’.       Display all Grades of ‘Irshad’ in 7th       Display names of all courses and grades of ‘Amir’.       Display list of courses which are taught in 7th (course name must not repeat)       Display list of all students by name and course name they have       Display total number of ‘F’ grade by ‘Amir’.       Display all those students who have not enrolled any course

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter11: Group Functions
Section: Chapter Questions
Problem 18MC
icon
Related questions
icon
Concept explainers
Question

Consider Following Tables.

Student ( regNo, sName, sCity, sCGPA, sAge) Course ( cCode, cName, credit_hours) Enrollment (regNo, cCode, semester, Grade)

 

Write SQL queries for the following statements.

NOTE: you must use “CARTESIAN PRODUCT” query only.

  • Display names of all those students who have “A”

 

 

 

  • Display student name and ccode of all those students who have ‘F’ grade in 5th

 

 

 

  • Display data of all those students who have enrolled at least 10

 

 

 

  • Display grade of ‘Ali’ in course ‘CS101’.

 

 

 

  • Display all Grades of ‘Irshad’ in 7th

 

 

 

  • Display names of all courses and grades of ‘Amir’.

 

 

 

  • Display list of courses which are taught in 7th (course name must not repeat)

 

 

 

  • Display list of all students by name and course name they have

 

 

 

  • Display total number of ‘F’ grade by ‘Amir’.

 

 

 

  • Display all those students who have not enrolled any course
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning