Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I wrote this program in MySQL but I want my output to be like this MariaDB [c4333u]select CONCAT (firstName, ' LastName) AS student, e.classNumber, e.grade
I wrote this program in MySQL
but I want my output to be like this
MariaDB [c4333u]select CONCAT (firstName, ' LastName) AS student, e.classNumber, e.grade -> from student s, enroll e -> where s.stuld-e.stuld | student | classNumber | grade | Tom Smith ART103A Tom Smith HST205A Ann Chin ART103A ID I Ann Chin CSC201AI Ann Chin MTH101B Ann Chin MTH103cI Perry LeeART103AI Perry Lee Perry Lee HST205A Edward Burns | ART103A NULL I CSC201A Edward Burns | CSC201A IAI Edward Burns | MTH103C NULL I Mary Jones CSC201A BI | Jane Rivera | cSC201A B I Jane Rivera MTH101B Jane Rivera MTH103C 16 rows in set (e.00 sec) (c) List the names of students, their courses enrolled and the grade obtained in the following manner. Only show the courses with grades. Course enrollment results with missing grades should not be returned. Only show classes taught by faculty with id F110 or F115. 1 I classNumber I grade I 1 I si udent 1 I Ann Chin | Jane R vera | MTH1 01B I Ann Chin MTH101B Jane Rivera MTH103C Tom Smith HST205A l Perry Lee HST205A I A 6 rows in set (0.00 sec)Step 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