Professional Documents
Culture Documents
Relation Attributes Attribute Data Type: Teachers
Relation Attributes Attribute Data Type: Teachers
Relation Attributes Attribute Data Type: Teachers
Question 2
CREATE TABLE
Teachers (
title CHAR(15)
Name CHAR(30)
Department CHAR(30)
Classes INT(2)
CREATE TABLE
Students (
Class CHAR(10),
);
CREATE TABLE
Departmet(
Subject CHAR(30),
);
); CREATE TABLE
Accounts: Students)
); CREATE TABLE
Accounts: staff)
Bank CHAR(30),
);
Question 3
Students – 50
Teachers -15
Departments-15
Accounts (students)-50
Accounts(teachers)-15
Question 4.
('standard',’35’, 7, 15),
('delux',’48’, 6,10 ),
('suite',’60’, 5, 7);
Question 5)
The source of your data: we have cooked up the data. We will transform data from the html or web
forms into the database using php language.one internet reference we have is
{https://www.lifewire.com/definition-of-a-schema-in-a-database-1019262}
Question 6
.TEACHERS TABLE
DEPARTMENTS TABLE
Students
Accounts; students