Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedbut I want my output to be like this

image text in transcribed

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

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

Advances In Databases And Information Systems Second East European Symposium Adbis 98 Poznan Poland September 1998 Proceedings Lncs 1475

Authors: Witold Litwin ,Tadeusz Morzy ,Gottfried Vossen

1st Edition

3540649247, 978-3540649243

More Books

Students also viewed these Databases questions

Question

Is SHRD compatible with individual career aspirations

Answered: 1 week ago