Question: Write the following SQL queries based on the following relational schema: Student(stdID: char(5), stdName:varchar (50), age:number, address: varchar(250), Course(crscode: char(5), crsName: varchar(50), crsCredit: number(1)) Enrol

 Write the following SQL queries based on the following relational schema:

Write the following SQL queries based on the following relational schema: Student(stdID: char(5), stdName:varchar (50), age:number, address: varchar(250), Course(crscode: char(5), crsName: varchar(50), crsCredit: number(1)) Enrol (stdID: char(5), crscode: char(5), trimester:number(1), enrYear:date, mark Program(prgCode: char(5), prgName: varchar(25) ) List the student ID and programme name of all students who lives in Melbourne CBD (i.e. VIC 3000 ). [5 marks]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!