02-13-2015, 04:25 AM
1. Open the Query Analyzer/SQL server management studio, and create a new database with the name of your “student id” like BC13020XXXX,
2. You are required to transform all entities given in the above ER diagram into tables through SQL query in Query Analyzer.
3. You have to transform all entity attributes into columns through SQL query in Query Analyzer.
4. Define appropriate data types of each attribute.
5. Apply entity integrity constraints by defining primary key, and foreign key of each entity.
6. You have to insert rows (at least two) in “Employee” table by writing an SQL query in Query Analyzer with one entry containing your VU ID in “ID” column and your Name in “Name” column of the “Employee” table.
7. Take screenshots of your work, and paste them in your solution file (.DOC file). (For taking snapshot please use print screen button (PrtScn) on your keyboard.
2. You are required to transform all entities given in the above ER diagram into tables through SQL query in Query Analyzer.
3. You have to transform all entity attributes into columns through SQL query in Query Analyzer.
4. Define appropriate data types of each attribute.
5. Apply entity integrity constraints by defining primary key, and foreign key of each entity.
6. You have to insert rows (at least two) in “Employee” table by writing an SQL query in Query Analyzer with one entry containing your VU ID in “ID” column and your Name in “Name” column of the “Employee” table.
7. Take screenshots of your work, and paste them in your solution file (.DOC file). (For taking snapshot please use print screen button (PrtScn) on your keyboard.