1. Specify the following queries in SQL on the database schema in Figure 1.2 (below). Retrieve the names and major а. departments of all students who have a grade of A in all their courses. b....


1. Specify the following queries in SQL on the<br>database schema in Figure 1.2 (below).<br>Retrieve the names and major<br>а.<br>departments of all students who<br>have a grade of A in all their<br>courses.<br>b. Retrieve the names and major<br>departments of all students who<br>do not have a grade of A in any of<br>their courses.<br>STUDENT<br>Name Student_number Class<br>Major<br>Smith<br>17<br>CS<br>Brown<br>CS<br>COURSE<br>Course name<br>Course number Credit hours Department<br>Intro to Computer Science<br>CS1310<br>4<br>CS<br>Data Structures<br>Discrete Mathematics<br>Database<br>CS3320<br>4<br>CS<br>MATH2410<br>MATH<br>CS3380<br>3<br>CS<br>SECTION<br>Section_identifier Course number<br>MATH2410<br>Semester<br>Year<br>Instructor<br>85<br>Fall<br>07<br>King<br>92<br>CS1310<br>Fall<br>07<br>Anderson<br>Spring<br>Knuth<br>CS3320<br>MATH24 10<br>CS1310<br>102<br>08<br>Chang<br>Anderson<br>112<br>Fall<br>08<br>119<br>Fall<br>08<br>135<br>CS3380<br>Fall<br>08<br>Stone<br>GRADE REPORT<br>Student_number<br>Section_identifier<br>Grade<br>17<br>112<br>17<br>119<br>A<br>92<br>A<br>102<br>B<br>135<br>A<br>PREREQUISITE<br>Course number<br>CS3380<br>Prerequisite number<br>CS3320<br>Figure 1.2<br>A database that stores<br>student and course<br>Information.<br>MATH2410<br>CS1310<br>CS3380<br>CS3320<br>

Extracted text: 1. Specify the following queries in SQL on the database schema in Figure 1.2 (below). Retrieve the names and major а. departments of all students who have a grade of A in all their courses. b. Retrieve the names and major departments of all students who do not have a grade of A in any of their courses. STUDENT Name Student_number Class Major Smith 17 CS Brown CS COURSE Course name Course number Credit hours Department Intro to Computer Science CS1310 4 CS Data Structures Discrete Mathematics Database CS3320 4 CS MATH2410 MATH CS3380 3 CS SECTION Section_identifier Course number MATH2410 Semester Year Instructor 85 Fall 07 King 92 CS1310 Fall 07 Anderson Spring Knuth CS3320 MATH24 10 CS1310 102 08 Chang Anderson 112 Fall 08 119 Fall 08 135 CS3380 Fall 08 Stone GRADE REPORT Student_number Section_identifier Grade 17 112 17 119 A 92 A 102 B 135 A PREREQUISITE Course number CS3380 Prerequisite number CS3320 Figure 1.2 A database that stores student and course Information. MATH2410 CS1310 CS3380 CS3320

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here