DBMS Lab Manual
DBMS Lab Manual
Scientists of DBMS
1. INTRODUCTION
A database management system (DBMS) is a computer software application that interacts with the user, other
applications, and the database itself to capture and analyse data. A general-purpose DBMS is designed to allow the
definition, creation, querying, update, and administration of databases.
3. LIST OF PROGRAMS
Sale(bill_no: integer, bill_data: date, cust_id: integer, item_id: integer, qty_sold: integer)
c) List all the bills for the current date with the customer names and item numbers
d) List the total Bill details with the quantity sold, price of the item and the final amount
e) List the details of the customer who have bought a product which has a price>200
f) Give a count of how many products have been bought by each customer
d) List all the issues for the current date with student and Book names
e) List the details of students who borrowed book whose author is CJDATE
f) Give a count of how many books have been bought by each student
i) Create a view which lists out the iss_no, iss _date, stud_name, book name
j) Create a view which lists the daily issues-date wise for the last one week
3. Database Schema for a Employee-pay scenario
paydetails(emp_id : integer, dept_id: integer, basic: integer, deductions: integer, additions: integer, DOJ: date)
d) List all the employee names who joined after particular date
e) List the details of employees whose basic salary is between 10,000 and 20,000
d) List all the issues for the current date with the customer names and cassette names
e) List the details of the customer who has borrowed the cassette whose title is The Legend
f) Give a count of how many cassettes have been borrowed by each customer
g) Give a list of book which has been taken by the student with mem_no as 5
c) List all the machine allotments with the student names, lab and machine numbers
e) Give a count of how many machines have been allocated to the CSIT class
f) Give a machine allotment etails of the stud_no 5 with his personal and class details
g) Count for how many machines have been allocatedin Lab_no 1 for the day of the week as Monday
h) How many students class wise have allocated machines in the labs
i) Create a view which lists out the stud_no, stud_name, mach_no, lab_no, dayofweek
j) Create a view which lists the machine allotment details for Thursday
4. MINI PROJECT
The Mini project in DBMS Lab is done to integrate the Part A and Part B components of the Lab.
The Part A contains the Java Component that includes the User interfaces for retrieval and processing of Data
The part B component includes the part which has the queries integrated into the application for storage and back
end Processing.
5. SAMPLE VIVA QUESTIONS.
6. EVALUATION CRITERIA
Excluding Challenging
Challenging Programs
Programs
Part A (Write up + Execution) 05 Marks 05 Marks
Part B (Write up + Execution) 10 Marks 15 Marks
Mini Project 10 Marks 10 Marks
Total 25 Marks 30 Marks
The Mini project is evaluated based on the following parts
The UI Front End which is done in C# for data retrieval and Processing. (3 Marks)
The Back end from which will be any one Scenario of a database as mentioned in the Lab Manual.(3 Marks)
Excluding Challenging
Challenging Programs
Programs
Write up 05 Marks 05 Marks
Part A 10 Marks 10 Marks
Part B 15 Marks 25 Marks
Viva 10 Marks 10 Marks
Total 40 Marks 50 Marks