Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The relations of a school database are written below: STUDENT (sid, lastname, firstname, major, entrydate, gpa, total_credits, probation_date) COURSE (course number, dept id, course_name) DEPARTMENT

The relations of a school database are written below: STUDENT (sid, lastname, firstname, major, entrydate, gpa, total_credits, probation_date)

COURSE (course number, dept id, course_name)

DEPARTMENT (dept id, department_name, address)

INSTRUCTOR ( instructor_id, firstname, lastname, dept_id)

SECTION (section_id, section_number, course_number, dept_id, semester, instructor_id)

TRANSCRIPT ( sid, section_id, credits, grade)

REQUIREMENT ( req_id, major, course_number, dept_id)

Write the following queries using SQL for the database given.

1. Insert a tuple into transcript indicating that Kenny is taking course number 111, dept id 15 in Fall2020.

2. Set the grade of student named Kenny for course number 111, dept id 15 offered in Fall2020 to F.

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

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions

Question

=+ f. instituting laws against driving while intoxicated

Answered: 1 week ago

Question

=+ Why have these changes occurred?

Answered: 1 week ago