0% found this document useful (0 votes)
9 views2 pages

l3 new

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

l3 new

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Project 1: design entity relationship diagram

1. Candidate identified by their candidate id, full name, sex, B date


2. Assessor identified by their Name, address, Qualification, certificate and experience
3. Assessment center identified by their name, address
4. Occupation is identified by title
5. Supervisor can identified by full name
6. Result of assessment is identified by their Candidate name, Assessment date, Assessor
name, Assessment type, Result of every assessment get done.

Based on the above scenario perform the following task

1. Identify the DB entity of the agency


2. Identify attributes of each entity
3. Draw entity relationship (ER)diagram for each entity use Microsoft Visio 2003/7
application

Project 2: Designing a simple database for Register.

Instruction : based on the ER diagram given bellow perform the following task using my SQL server
2005

1. Create database name REGISTER


2. Create tables in a database registrar having the appropriate data type, Primary key and
Foreign key
3. Create appropriate relation ship
4. Add sample data in the tables
5. Create a Query that out puts student, full name, and course. course title, credit hours and
Grade of all student
STLNAME STFNAME CTITLE
CRTHRS

STID STUDENT COURSE


RESULT

SEX CID CFEE


GRADE
 Create database ADVANTURE
 Create table human resource. Department
1. Insert new Record for Human Resource. Department whose name is information
technology, Group Name is Research and Development and whose modified date is
6/1/1998
Department id Name Group Name Modified date
19 Information technology Research and Development 6/1/1998
20 Plumbing Sanitation 6/11/1999
2. Update modified date of all department to be today’s date
3. Remove plumbing department from Human Resource. Department table
4. How many Employees are managed by a manager whose employee id is 21
5. By using Employee and contact tables write a Query that outputs Employee ID, national,
DNumber, First Name, Email Address of employee having their employee ID between 271
and 280

You might also like