Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

create table StudentRegistration (regId number(5) primary key, StudentId number(5), Feestatus varchar2(10) not null, PaymentID number(3) references Payment ); create table Section (SectionId number(4) primary key,

create table StudentRegistration (regId number(5) primary key, StudentId number(5), Feestatus varchar2(10) not null, PaymentID number(3) references Payment );

create table Section (SectionId number(4) primary key, SectionNo number(3), Courseid number(5) references Course, LocId number(3) references Location, starttime datetime, endtime datetime, startdate datetime, enddate datetime, userID number(4) references user );

create table course (Courseid number(5) primary key, CourseName varchar2(10), Prereq varchar2(10), Deptid number(2) references Department, SectionId number(5) references Section );

create table Department (Deptid number(2) primary key, Name varchar2(20) not null, Locid number(3) references Location, CollegeId number(50) references College )

create table Resident Resident-Id number(5) primary key, ResiName varchar2(20) not null, Feeschedule varchar2(20), userID number(4) references user )

create table Location (Locid number(3) primary key, LocationName varchar2(20) not null

);

create table Payment (PaymentID number(3) primary key, PaymentName varchar2(20) not null, regId number(5) references StudentRegistration ); create table USER ( userID number(4) primary key FirstName varchar2(50) not null, LastName varchar2(50), Address varchar2(100), Telno number(10) not null, Email varchar2(20), ResidentId number(3), Type varchar2(10), regId varchar2(5) );

Using this:

Write DML Statements to simulate the following Business Processes:

1. Setup a department, course within a department with 2 sections. Section must have a location assigned. Produce a report showing the department, its course and sections (with complete section information.)

Now register a student to a section and process student payment. Produce a report showing student registration information, including payment information.

How can you improve your DB Schema further. Make four recommendations.

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

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions

Question

4. Give recommendations:

Answered: 1 week ago