RELATIONAL

LAB GUIDE

DATABASE MANAGEMENT SYSTEM

Compiled by : Venkata R Voleti

RELATIONAL DATABASE MANAGEMENT SYSTEMENTS

LAB GUIDE STRUCTURE
DAY 1 ASSIGNMENTS
Assignment 1 Assignment 2 Assignment 3 Assignment 4 Assignment 5 ER MODELLING TECHNIQUES ER MODELLING TECHNIQUES ER MODELLING TECHNIQUES ER MODELLING TECHNIQUES ER MODELLING TECHNIQUES

DAY 2 ASSIGNMENTS
Assignment 6 Assignment 7 Assignment 8 Assignment 9 Assignment 10 Assignment 11 ER AND NORMALISATION TECHNIQUES ER AND NORMALISATION TECHNIQUES ER AND NORMALISATION TECHNIQUES ER AND NORMALISATION TECHNIQUES ER AND NORMALISATION TECHNIQUES ER AND NORMALISATION TECHNIQUES

LAB GUIDE

DAY 3 ASSIGNMENTS
Assignment 12 Assignment 13 Assignment 14 Assignment 15 TABLE CREATION INSERTION OF DATA INTO TABLES DATA RETRIEVAL TECHNIQUES

DAY 4 ASSIGNMENTS
Assignment 16 Assignment 17 Assignment 18 Assignment 19

DAY 5 ASSIGNMENTS
Assignment 20 Assignment 21

DAY 6 ASSIGNMENTS

PROJECT

REFER TO PROJECT FOLDER TO FIND THE PORJECT SPECIFICATIONS

3

.

DAY 1 ASSIGNMENTS ASSIGNMENT 1 : ER MODELLING TECHNIQUES Construct an ER Diagram for a car insurance company whose customers own one or more cars each. LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 5 . Each car has associated with it zero to any number of recorded accidents.

and individual player statistics for each match.DAY 1 ASSIGNMENTS ASSIGNMENT 2 : ER MODELLING TECHNIQUES Design an ER Diagram for keeping track of the exploits of your favorite sports team. You should store the matches played. Summary statistics should be modeled as derived attributes. the scores in each match. LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 6 . the players in each match.

but an employee may be on vacation and not assigned to any projects. Each business unit has multiple projects. LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 7 .DAY 1 ASSIGNMENTS ASSIGNMENT 3 : ER MODELLING TECHNIQUES A company has several business units. Employees must be assigned to one business unit. One or more employees are assigned to a project . One of the assigned employees will be project manager for that project.

LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 8 .DAY 1 ASSIGNMENTS ASSIGNMENT 4 : ER MODELLING TECHNIQUES In a hospital there are different departments. afternoon and night. Usually each patient is treated by a single doctor. Each patient is required to take a variety of drugs during different parts of the day such as morning. but in rare cases they will have two or three. Patients are treated in these departments by the doctors assigned to patients. every department has many healthcare assistants. Healthcare assistants will also attend to patients.

the company offers different schemes based on the order value. A customer can place the order for these toys. Each customer has multiple ship-to addresses. Each order may contain one or more toys. The company has several manufacturing plants.DAY 1 ASSIGNMENTS ASSIGNMENT 5 : ER MODELLING TECHNIQUES A toy manufacturing company manufactures different types of toys. To promote the business. LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 9 . Each plant manufactures different types of toys.

title .DAY 2 ASSIGNMENTS ASSIGNMENT 6 : ER AND NORMALISATION TECHNIQUES An University registrar’s office maintains data about the following entities. Document all assumptions that you can make about the mapping constraints. including identification number . section number . name . semester . D. Students including Student ID . Instructors . and program . C. department and title LAB GUIDE Further the enrolment of the students in courses and grades awarded to students in each course they are enrolled for must be appropriately modeled. A. prerequisites B. credits .syllabus . Construct an ER Diagram for the Registrar’s office. and class room. Course Offerings . year . Courses . including member . including course number . name . instructor(s). RELATIONAL DATABASE MANAGEMENT SYSTEM 10 . timings.

Make sure that only one relationship exists between a particular student and course offering pair. Construct an alternative ER Diagram that uses only a binary relationship between students and course offerings. yet you can represent the marks that a student gets in different exams of a course offering.DAY 2 ASSIGNMENTS ASSIGNMENT 7 : ER AND NORMALISATION TECHNIQUES Consider a Database used to record the marks the students get in different exams of different course offerings. for the database LAB GUIDE B. RELATIONAL DATABASE MANAGEMENT SYSTEM 11 . A. Construct an ER Diagram that models exams as entities and uses a ternary relationship.

capacity . This database could be modeled as the single entity set exam. Alternatively one or more additional entities sets could be defined . as Course with attribute name .DAY 2 ASSIGNMENTS ASSIGNMENT 8 : ER AND NORMALISATION TECHNIQUES Consider a University database for the scheduling of class rooms for final exams.and building • • LAB GUIDE A Show an ER Diagram illustrating the use of all three additional entity sets listed. B Explain what application characteristics would influence a decision to include or not include each of the additional entity sets. dependent as a weak entity set on course • Room with attributes r_number . section number. department and c_number Section with attributes s_number and enrollment . along with relationship sets to replace some of the attributes of the exam entity set. with attributes course name. room number and time. RELATIONAL DATABASE MANAGEMENT SYSTEM 12 .

DAY 2 ASSIGNMENTS ASSIGNMENT 9 : ER AND NORMALISATION TECHNIQUES Convert following table to 3NF table. LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 13 . Please add appropriate columns in normalized tables to make 3NF compliant.

DAY 2 ASSIGNMENTS ASSIGNMENT 10 : ER AND NORMALISATION TECHNIQUES Draw the E-R diagram for normalized Relational schema arrived in ASSIGNMENT 9. LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 14 .

DAY 2 ASSIGNMENTS ASSIGNMENT 11 : ER AND NORMALISATION TECHNIQUES Convert the ER model into a relational Schema LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 15 .

EMP & DEPT EMPLOYEE Column name EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO Data type Number Varchar Char Number Date Number Number Number Description Employee number Employee name Designation Manager’s Emp.DAY 3 ASSIGNMENTS ASSIGNMENT 12 : TABLE CREATION Create two tables . number Date of joining Basic Salary Commission Department Number LAB GUIDE DEPARTMENT Column name DEPTNO DNAME LOC Data type Number Varchar Varchar Description Department number Department name Location of department Check whether the table structures are created RELATIONAL DATABASE MANAGEMENT SYSTEM 16 .

DAY 3 ASSIGNMENTS ASSIGNMENT 13 : INSERTION OF DATA INTO TABLES Data for EMP 7369 7499 7521 7566 7654 7698 7782 7788 7839 7844 7876 7900 7902 7934 Smith Allen Ward Jones Martin Blake Clark Scott King Turner Adams James Ford Miller Clerk Salesman Salesman Manager Salesman Manager Manager Analyst President Salesman Clerk Clerk Analyst Clerk 7698 7788 7698 7566 7782 7902 7698 7698 7839 7698 7839 7839 7566 17/12/80 20/2/81 22/2/81 2/4/81 28/9/81 1/5/81 9/6/81 9/12/82 17/11/81 8/9/81 12/1/83 3/12/81 4/12/81 23/1/82 800 1600 1250 2975 1250 2850 2450 3000 5000 1500 1100 950 3000 1300 0 1400 300 500 20 30 30 20 30 30 10 20 10 30 20 30 20 10 LAB GUIDE Data for DEPT table 10 20 30 40 Accounting Research Sales Operations New York Dallas Chicago Boston RELATIONAL DATABASE MANAGEMENT SYSTEM 17 .

DAY 3 ASSIGNMENTS ASSIGNMENT 14 : DATA RETRIEVAL Perform the following queries on the EMPLOYEE and DEPARTMENT table: ♦ ♦ ♦ ♦ List the names of analysts and salesmen. List the maximum. 7788. ‘81. minimum and average salary in the company. List names of employees whose names have “i” as the second character. List employee names for those who have joined between 30 June and 31 Dec. ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ List the different designations in the company. LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 18 . 40. List employees whose names either start or end with “S”. List the names of employees who are not eligible for commission. 7934. List the employees not assigned to any department. List the employees who are eligible for commission. List the total salaries paid to the employees. List the name and designation of the employee who does not report to anybody. List names of employees who are not managers. List details of employees who have joined before 30 Sep 81. 7521. ♦ ♦ List employees not belonging to department 30. List the number of employees working with the company. List the names of employees whose employee numbers are 7369. List the maximum salary paid to a salesman. 7839. List the number of designations available in the EMP table. or 10.

List name. ♦ List the total salary. (PF is calculated as 10% of basic salary) ♦ ♦ ♦ ♦ List names of employees who are more than 2 years old in the company.DAY 4 ASSIGNMENTS ASSIGNMENT 15 : DATA RETRIEVAL Perform the following queries against EMPLOYEE and DEPARTMENT tables: ♦ ♦ List the number of employees and average salary for employees in department 20. HRA. maximum and minimum salary and average salary of the employees jobwise. List employee name. ♦ List the total salary. List the employee name and hire date in the descending order of the hire date. The result should be in the descending order of the number of employees. salary. DA and gross. List the jobs and number of employees in each job. salary and PF amount of all employees. List the employee details in the ascending order of their basic salary. List the department number and total salary payable in each department. ♦ ♦ ♦ List the department numbers and number of employees in each department. PF. HRA is 50% of the salary and DA is 30% of the salary. ♦ List the average salary of the employees job wise. maximum and minimum salary and average salary of the employees. order the results in the ascending order of gross. for department 20. for department 20 and display only those rows having an average salary > 1000 LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 19 .

Suppliers S# S1 S2 S3 S4 S5 Parts P# P1 P2 P3 P4 P5 P6 Projects J# J1 J2 J3 J4 J5 Shipment S# S1 S1 S2 S3 S2 S4 S5 P# P1 P3 P1 P2 P2 P3 P4 J# J1 J3 J1 J3 J4 J2 J2 Qty 350 120 620 700 250 125 325 Jname Montago Cat Box Montago Eagles City London Paris London Rome Athens PName Nut Bolt Screw Screw Cam Cog Color Red Green Blue Red Blue Red Weight 12.DAY 4 ASSIGNMENTS ASSIGNMENT 16 : DATA RETRIEVAL The following questions pertain to a database with the following tables.0 12.0 19.0 City London Paris Rome London Paris London SName Smith Jones Blake Clark Adams Status 20 10 30 20 30 City London Paris Paris London Athens LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 20 .0 14.0 17.0 17.

LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 21 . ♦ ♦ ♦ ♦ ♦ ♦ ♦ Get the total quantity of part P1 supplied by S1. Get al S#. Get all part-color/part-city combinations. Get P# of parts supplied to some project in an average quantity > 320. Get S# for suppliers who supply project J1. Get all pairs of cities such that a supplier in the first city supplies to a Project in the second city. Get J# for projects using at least one part available from supplier S1. Get all S#/P#/J# triples such that all are co-located. ♦ ♦ Get supplier numbers for suppliers with a status lower than that of supplier S1. Get project numbers for projects not supplied with any red part by any London supplier. Get all pairs of part numbers such that some supplier supplies both the indicated parts.DAY 4 ASSIGNMENTS ASSIGNMENT 16 : DATA RETRIEVAL The significance of an SPJ record is that the specified supplier supplies the specified part to the specified project in the specified quantity (and the combination S#-P#-J# uniquely identifies such a record). ♦ ♦ Get J# for projects supplied by at least one supplier not in the same city. ♦ ♦ ♦ ♦ ♦ ♦ ♦ Get full details of all projects in London. J# and corresponding total quantity. Get P# for parts supplied by a supplier in London. For each part supplied to a project. P#. get the P#. Get colors of parts supplied by S1. J# triples such that they are not all co-located. Get supplier numbers for suppliers supplying at least one part supplied by at least one supplier who supplies at least one red part. Get project names for projects supplied by supplier S1.

wholesaler.DAY 5 ASSIGNMENTS ASSIGNMENT 16 : DATA RETRIEVAL Now solve the following set of queries according to given schema: Write the SQL commands to create a database schema for the following relational schema: CUSTOMER (CUST_ID. CUST_NAME. or retailer Data for CUSTOMER table CUST_ID 100 101 102 103 104 311 CUST_NAME Revathi Richa Rishi Rijesh Kalyan Karthik ANNUAL_REVENUE 1000000 1800000 1000000 4000000 4800000 5500000 CUST_TYPE manufacturer wholesaler retailer wholesaler Wholesaler retailer LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 22 .000 CUST_TYPE must be manufacturer.000 ANNUAL_REVENUE defaults to $20. CUST_TYPE) CUST_ID must be between 100 and 10. ANNUAL_REVENUE.

SHIP_DATE) Foreign Key: CUST_ID REFERENCES CUSTOMER. on deletion set to null Foreign Key: DESTINATION REFERENCES CITY.5 100 TRUCK_# 100 102 103 102 101 102 101 100 103 101 103 101 100 100 103 103 102 101 100 102 102 102 102 102 102 102 DESTINATION London Paris London Panama City Los Angeles Rome Sioux City Manhattan San Francisco San Francisco London London London London Manhattan Los Angeles Baltimore Paris Rome Los Angeles London Sioux City Manhattan San Francisco Denver St. DESTINATION. on deletion set to null WEIGHT must be under 1000 and defaults to 10 Data for SHIPMENT table SHIPMENT_# 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 CUST_ID 100 101 101 101 101 102 100 104 103 104 102 103 104 104 104 100 101 103 103 103 104 100 101 102 311 311 WEIGHT 500 100 300 10 20 200 50 500 50 25 200 100 500 200 50 75 55 45 45 45 45 150 500 250 0. Louis SHIP_DATE Null Null Null 12-Dec-03 Null Null 18-Sep-03 Null Null Null 11-Oct-98 09-Sep-99 18-Jun-88 11-Oct-98 29-May-03 17-Sep-02 01ul-02 Null Null Null Null Null Null 31-Jul-02 Null Null LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 23 .DAY 5 ASSIGNMENTS ASSIGNMENT 16 : DATA RETRIEVAL SHIPMENT (SHIPMENT_#. CUST_ID. on deletion cascade Foreign Key: TRUCK_# REFERENCES TRUCK. WEIGHT. TRUCK_#.

Louis ) LAB GUIDE POPULATION 100000000 120000000 200000000 1230000000 20000000 5000000000 10000000 7000 2000 1000 5000 RELATIONAL DATABASE MANAGEMENT SYSTEM 24 .DAY 5 ASSIGNMENTS ASSIGNMENT 16 : DATA RETRIEVAL TRUCK (TRUCK_#. DRIVER_NAME) Data for TRUCK table TRUCK_# 100 101 102 103 DRIVER_NAME Jensen Sasi Hrithik Jake Stinson CITY (CITY_NAME. POPULATION Data for CITY table CITY_NAME London Paris Rome Panama City San Francisco Sioux City Manhattan Los Angeles Baltimore Denver St.

♦ ♦ ♦ List customers who had shipments delivered by every truck. (use NOT EXISTS) LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 25 .DAY 5 ASSIGNMENTS ASSIGNMENT 16 : DATA RETRIEVAL Perform the following queries: ♦ ♦ What are the names of customers who have sent packages (shipments) to Sioux City? To what destinations have companies with revenue less than $1 million sent packages? ♦ What are the names and populations of cities that have received shipments weighing over 100 pounds? ♦ Who are the customers having over $5 million in annual revenue who have sent shipments weighing less than 1 pound? ♦ Who are the customers having over $5 million in annual revenue who have sent shipments weighing less than 1 pound or have sent a shipment to San Francisco? ♦ Who are the drivers who have delivered shipments for customers with annual revenue over $20 million to cities with populations over 1 million? ♦ List the cities that have received shipments from customers having over $15 million in annual revenue. ♦ ♦ List the names of drivers who have delivered shipments weighing over 100 pounds. List the name and annual revenue of customers who have sent shipments weighing over 100 pounds. ( use NOT EXISTS) List cities that have received shipments from every customer. ( use NOT EXISTS) List drivers who have delivered shipments to every city. ♦ List the name and annual revenue of customers whose shipments have been delivered by truck driver Jensen.

♦ Create views for each of the following: ♦ ♦ ♦ ♦ Customers with annual revenue under $1 million. Louis. Customers with annual revenue over $10 million which have sent packages under 1 pound to cities with population less than 10. Cities of population over 1 million which have received a 100-pound package From customer 311.DAY 5 ASSIGNMENTS ASSIGNMENT 16 : DATA RETRIEVAL ♦ ♦ Customers who are manufacturers or have sent a package to St. ♦ ♦ Trucks driven by Jake Stinson which have never delivered a shipment to Denver. LAB GUIDE Customers with annual revenue between $1 million and $5 million. and what are the populations of those cities? RELATIONAL DATABASE MANAGEMENT SYSTEM 26 . Customers with annual revenue over $5 million.000. Use these views to answer the following queries: ♦ Which drivers have taken shipments to Los Angeles for customers with revenue over $5 million? ♦ What are the populations of cities which have received shipments from customers with revenue between $1 million and $5 million? ♦ Which drivers have taken shipments to cities for customers with revenue under $1 million.

To resolve this problem the Director has requested the creation of a centralized database system to assist in the more effective and efficient running of the clinics. pk1/pk2/pk3 means 1st/2nd/3rd component of a primary key) LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 27 .DAY 6 ASSIGNMENTS COMPREHENSIVE CASE STUDY . This service is provided through various clinics located in the main cities of America. The relational schema for the PerfectPets database looks as follows: (Abbreviation in the following charts: pk means primary key.1 PerfectPets is a practice that provides private health care for domestic pets throughout America. The Director of Perfect Pets is concerned that there is a lack of communication between organizations and particularly in the sharing of information and resources across the various clinics. fk means foreign key.

DAY 6 ASSIGNMENTS COMPREHENSIVE CASE STUDY .1 LAB GUIDE RELATIONAL DATABASE MANAGEMENT SYSTEM 28 .

Give the average number of days for pet treatment. Find the clinic number that has the least amount of drug value (e. A drug needs to be re-ordered when the quantity in stock is less than the quantity of re-order level. LAB GUIDE ————> PAPER SUBMISSION RELATIONAL DATABASE MANAGEMENT SYSTEM 29 . city. List staff’s first and last name for all staffs who manages clinic(s) that are located in the city “Brea”. phone number.g. and its city that has all kinds of drugs available in its stock. the busier the month is. for pet owners) and the total amount of cost spent for pet treatment in each city. Find the name and type of pet that has received the most expensive treatment.1 COMPLETE THE FOLLOWING TASKS: a. and state along with the pen number and pen status for each clinic. List the clinic number. List the name and type of pet for every pet that has been treated more than 2 days and spent more than $100 for treatment. k. g. the position is manager). display ‘lost pet’ instead.g. List the name of every staff member who receives the salary higher than the average salary of the company. no record of examination or treatment). d. We assume that the more pets are registered. If a pet does not have an owner.g. n. Give the name of the staff member who is not a manager and receives the highest salary. m. o. list clinic number. Find the average cost of treatment for each type of pet? q. List the name and type of all pets. List the name of every owner who owns a pet that has visited a clinic located in the city “Fullerton”. l. List the name of every drug and its current stock that need to be re-ordered. e. Find the name and type for every pet that has been registered during the year 2001.. b. List the name (first and last) of every owner who owns “Chihuahua”. List the name and type for every pet. p. For every clinic. j. f. h.DAY 6 ASSIGNMENTS COMPREHENSIVE CASE STUDY . i. s. r. along with its owner’s last name... u. Sort the result by the quantity in stock. List the name (first and last) of every pet owner who owns more than one pet. List the staff’s first name and last name for all staffs who are managers but do not manage any clinic (e. List the name (first and last) pet owner who made an appointment for his/her pet but did not bring it to any clinic (e. t. a drug value is computed as drug cost * quantity in stock) in its pharmacy stock.. List the city (e. c. Find the busiest registration month for pet in the past.g.

com Phone 9844499999 9844499989 9844499997 9844499996 LAB GUIDE 9844499499 9844409999 9844459999 9844996999 9899677999 9877788999 9869977799 null Course_Details CourseID GPF GDB ODB OVB JJA JAJ DNT DCS DDB MDB MCS CourseName Programming Fundamentals Relational Database Management System Oracle 8i Visual Basic Java Advanced Java Introduction to DotNot Technology Programming in C# SQL Server 2000 DB2 CICS RELATIONAL DATABASE MANAGEMENT SYSTEM 30 .2 Given the Schema : Trainer TrainerID 1 2 3 4 5 6 7 8 9 10 11 12 TraineeName Abraham Boyce Camilla Davis Elsa Ferguson Abraham Gordon Hilton Boyce Zenith Abraham EmailID t1@i.com t2@i.com t12@i.com t7@i.com t8@i.com t11@i.com t6@i.com t5@i.com t9@i.com t4@i.com t10@i.DAY 6 ASSIGNMENTS COMPREHENSIVE CASE STUDY .com t3@i.

DAY 6 ASSIGNMENTS COMPREHENSIVE CASE STUDY .2 Batch_Schedule BatchName Batch1 Batch1 Batch1 Batch1 Batch2 Batch2 Batch2 Batch2 Batch2 Batch3 Batch3 Batch3 Batch4 Batch4 Batch4 Batch4 CourseID GPF GDB ODB OVB GPF GDB DNT DCS DDB GDB JJA JAJ GPF GDB MDB MCS Start_Date 10-JAN-2007 21-JAN-2007 1-JEB-2007 21-FEB-2007 10-JAN-2007 21-JAN-2007 1-FEB-2007 2-FEB-2007 16-FEB-2007 25-JAN-2007 3-FEB-2007 21-FEB-2007 1-FEB-2007 12-FEB-2007 23-FEB-2007 1-MAR-2007 End_Date 20-JAN-2007 31-JAN-2007 20-FEB-2007 28-FEB-2007 20-JAN-2007 LAB GUIDE 31-JAN-2007 10-FEB-2007 15-FEB-2007 22-FEB-2007 02-FEB-2007 20-FEB-2007 28-FEB-2007 11-FEB-2007 22-FEB-2007 28-FEB-2007 15-MAR-2007 RELATIONAL DATABASE MANAGEMENT SYSTEM 31 .

2 Feedback TrainerID 12 11 2 12 12 1 12 12 12 12 12 12 12 12 12 2 2 2 CourseID GPF GPF GDB GDB GPF GPF ODB OVB MDB MCS JAJ DNT DDB DCS JJA GDB GDB GDB BatchName Batch1 Batch1 Batch1 Batch1 Batch2 Batch2 Batch1 Batch1 Batch4 Batch4 Batch3 Batch2 Batch2 Batch2 Batch3 Batch2 Batch3 Batch4 FBRate 4.08 4.61 4.68 4.51 4.12 4.12 4.DAY 6 ASSIGNMENTS COMPREHENSIVE CASE STUDY .67 4.28 4.28 LAB GUIDE 4.08 4.12 4.32 4.08 4.52 RELATIONAL DATABASE MANAGEMENT SYSTEM 32 .41 4.65 4.18 4.12 4.

♦ List the id of trainers who have handled more than one course for a batch along with the batch name List the trainers who have handled all the courses for a batch ♦ RELATIONAL DATABASE MANAGEMENT SYSTEM 33 . name of trainers and the number of different courses handled LAB GUIDE ♦ Get the complete training duration for each batch ♦ Get the course details and trainer details for each batch as on 20 feb 2007.2 COMPLETE THE FOLLOWING TASKS: ♦ List the name of all the courses handled by each trainer The output should be <trainername> <coursename> ♦ List the name of trainers who have handled more than one course ♦ List the trainer id.DAY 6 ASSIGNMENTS COMPREHENSIVE CASE STUDY .

Master your semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master your semester with Scribd & The New York Times

Cancel anytime.