Question: table [ [ Student , Student _ Course ] , [ StudentID , FirstName,LastName,Gender,Address,,CityofBirth,StudentiD,CourselD,Semester,Grade,Room ] , [ 1 , Ahmed,Abdullah,Male, 1 2 3 Main
tableStudentStudentCourseStudentIDFirstName,LastName,Gender,Address,,CityofBirth,StudentiD,CourselD,Semester,Grade,RoomAhmed,Abdullah,Male, Main St Gaza City,,Gera,Fall Room AFatima,,Female, Oak St Ramallah,,Ramallah,Fall Room BMalid,Khalil,Male, Pine St Hebron,,Hebron,Spring Aocm CLina,Salem,Female, Codar St Nablus,,Nablus,Fall Room DTaria,Hassan,Male, Olve St Bethlehem,Bethlehem,Spring Room EsNout,Mahmoud,Female : Walnut St Jenin,,Jenin,Fall Room ASare,Ahmad,Female, Maple St Gaza City,,Gaza,Fall Room BROrnar,Yousef,Male, Pine St Hebron,,Hebron,Fall Rocm CDina,Rami,Female, Birch St Jerusalem,,Jerusalem,Spring Room DAya,Omar,Female, AlMutanabbi St Shatila, Gaza City,Gaza,Fall Rloom ESOSSamir,Fhalid,Male, AlQuds St AVMasyoun, Ramallah,Famallah,Fall Room AFall Room BCourse,Spring Room CCourselD,ID Name,Description,isRequired,CreditHours,Price,,Mathematics,Introduction to Mathematics,Mandatory,Computer Science,Programming Fundamentals,Mandatory,History,World History,Elective,CulsCultural Studies,Electivo,Artificial Intelfigonce,
tableIntroduction to AIFundamentals of Data StructuresMandatory,Data Structures,Mandatory,
Given the data above write SQL queries to answer the following questions:
Print the name of the most expensive course.
How would you change the above query to print the name of the most expensive elective course.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
