Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3: Further SQL (15 marks) You have been given the following specifications of a simple database for keeping track of lectures and those who

image text in transcribed
Question 3: Further SQL (15 marks) You have been given the following specifications of a simple database for keeping track of lectures and those who presented the lecture at a national Biological Sciences conference (note that primary keys are shown underlined, foreign keys in bold). You should run your SQL to demonstrate that it works correctly, and paste in the statements used plus the output from Oracle. PRESENTER (Presenterne PresenterName, Biography. InstitutionNamele LECTURE (Lecture No, LectureName, Description, Theme, Capacity, Date and Time, Presenter No) Based on the table specifications provided, answer the following questions. Each question is worth 3 marks, a. Give the SQL to create the PRESENTER table. Choose appropriate data types. None of the attributes should be allowed to be null. Include the primary key constraint. b. Give the SQL to create the LECTURE table. Use appropriate data types and include the primary key and foreign key constraints. Referential integrity should be set such that if a presenter is deleted from the database, any lectures that he or she is running will also be deleted. c. Give the SQL to add your own record to the PRESENTER table. Include your name, 'Murdoch University as your institution, and make up a short (10-20 words) biography. d. Give the SQL to add the attribute VenueName to LECTURE. There are three possible venues: Building A Building B and Building C, which should be enforced by the SQL definitione e. Give the SQL to record the fact that all lectures have had their capacity increased by 10

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

My opinions/suggestions are valued.

Answered: 1 week ago