Please rate this..
STUDENT ( SID, Sname, DOB, JOIN_DATE)
INSTRUCTORS( IID,SID,I_JOIN_DATE, STATUS)
CLASS ( CID, IID, DAY,LOCATION,LEVEL, DESC )
ClassMeeting ( CMID,CID,IID)
MARTIAL(REQID,BELT_COLOR,REQUIREMENTS)
MARTIALACTIVITIES(SID,RANK,BELT_COLOR)
STUDENTCLASSMEETINGS(CMID,SID,ATTENDENCE)
CREATE TABLE STUDENT
(
SID INT IDENTITY,
Sname VARCHAR(50) NOT NULL,
DOB DATETIME NOT NULL,
JOIN_DATE DATETIME NOT NULL,
PRIMARY KEY (SID)
)
CREATE TABLE INSTRUCTORS
(
IID INT IDENTITY NOT NULL,
SID INT,
I_JOIN_DATE DATETIME,
STATUS VARCHAR(1) NOT NULL
PRIMARY KEY (IID),
FOREIGN KEY INSTRUCTORS(SID) REFERENCES STUDENT(SID)
)
CREATE TABLE CLASS
(
CID INT IDENTITY,
IID INT,
DAY DATETIME,
LOCATION VARCHAR(10),
LEVEL INT,
DESC VARCHAR(100),
PRIMARY KEY CLUSTERED(CID,IID),
)
CREATE TABLE CLASSMEETING
(
CMID INT IDENTITY,
CID INT,
IID INT
PRIMARY KEY(CMID),
FOREIGN KEY CLASSMEETING(CID,IID) REFERENCES CLASS(CID,IID)
)
CREATE TABLE MARTIAL
(
REQID INT IDENTITY,
BELT_COLOR VARCHAR(30),
REQUIREMENTS VACRHAR(50)
PRIMARY KEY (REQID)
)
CREATE TABLE MARTIALACTIVITIES
(
SID, INT IDENTITY,
RANK INT IDENTITY,
VARCHAR(30),
BELT_COLOR VACRHAR(50)
PRIMARY KEY (RANK),
FOREIGN KEY MARTIALACTIVITIES(SID) REFERENCES STUDENT(SID)
)
CREATE TABLE STUDENTCLASSMEETINGS(
CMID INT IDENTITY,
SID INT,
ATTENDENCE varchar(1),
FOREIGN KEY MARTIALACTIVITIES(CMID) REFERENCES CLASSMEETING(CMID)
)
�Martial Arts R Us� (MARU) needs a database. MARU is a martial arts school with hundreds of students. It is necessary to...
In this phase of the project you will create an ERD based upon the following requirements and business rules. Limit your ERD to entities and relationships based on the business rules showed here. In other words, do not add realism to your design by expanding or refining the business rules. However, make sure you include all attributes needed that would permit the model to be successfully implemented, including all primary and foreign keys. 1. Trinity College (TC) is divided into...
Suppose a local college has tasked you to develop a database that will keep track of students and the courses that they have taken. In addition to tracking the students and courses, the client wants the database to keep track of the instructors teaching each of the courses. Database Design Diagram Use any drawing package or any other application you know such as Visio, Word, PowerPoint, or another tool to create the Database Design Diagram. Otherwise, you may draw the...
The Hudson Engineering Group (HEG) has contacted you to create a conceptual model whose application will meet the expected database requirements for the company’s training program. The HEG administrator gives you the description (see below) of the training group’s operating environment. (Hint: Some of the following sentences identify the volume of data rather than cardinalities. Can you tell me which ones?) The HEG has 12 instructors and can handle up to 30 trainees per class. HEG offers five Advanced Technology...
This is database system concept. 1.Find the ids of instructors who are also students using a set operation. Assume that a person is identified by her or his id. So, if the same id appears in both instructor and student, then that person is both an instructor and a student. Remember: set operation means union, intersect or set difference. 2.Find the ids of instructors who are also students using the set membership operator. 3.Find the ids of instructors who are...
Introduction Young School for Wee People Young School for Wee People (YSWP) had been running a small, for-profit preschool program for young children between the ages of two and four for several decades. YSWP was one of several privately run programs in the suburban Philadelphia area. For each of the three age groups (i.e., two-, three- and four-year olds), there were two classes per day for a total of six classes in the facility each day. The classes were held...
Draw the domain class diagram for the following question. You should identify the necessary classes and the types of relationships connecting them, in order to closely model the provided information. Include the names, role names, and multiplicities for all associations. Provide the directionality for the aggregations and reflexive associations, if you use them in your diagram. Identify at least two attributes for each class. Methods are not required. Question: At a university, courses are offered as course sections, and a...
Smart Driving School (SDS) was established recently. SDS has five branches in Canberra. SDS requires your team to design a database system to enable more smooth operation of the centre. The details of the branches of SDS are: Branch nameAddressSDS Dickson150 Camilla Way, Dickson, 2662, ACTSDS Page12 Page St, Page, 2614, Page, ACTSDS Franklin12 Franklin St, Franklin, 2912, Franklin, ACTSDS City12 Bunda St, 2601, City, ACTSDS Bruce12 Norman Fisher Crt, 2617, Bruce, ACT SDS database will record and store the data about...
Problem 11-25 Effects of operating leverage on profitability Franklin Training Services (FTS) provides instruction on the use of computer software for the em ployees of its corporate clients. It offers courses in the clients' offices on the clients' equipment. The only major expense FTS incurs is instructor salaries; it pays instructors $6,000 per course taught. FTS recently agreed to offer a course of instruction to the employees of Novak Incorporated at a price of $700 per student. Novak estimated that...
python anywhere questions. A Class Management System, Part 2 Please also refer to the description provided in Part 1 of the project “A Class management System”. You have had a chance to state your understanding of the requirements for this project, draft a preliminary design, and express it by means of UML diagrams. Now it’s time to implement your design. As stated in the original requirements, there will be three categories of users: 1. Students 2. Instructors 3. Administrators Recall...
(MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications for 1) teaching (e.g. instructor assignment and evaluation), for 2) registration (e.g. online course status, waiting lists), and for 3) student records (e.g. transcript generation) The resulting new system will support the following enterprise description: Professors and GTAs are assigned to teach the sections of each class being offered in a semester. At the end of the semester, they get a "team rating" (professors...