Business Data Processing System Practical Questions
Business Data Processing System Practical Questions
B.com ii year
Practical questions
Assume all constraints, enter the data and calculate da, hra, gross pay.
2. Create a table named person with name and age as attributes. Enter the data for 10
rows?
a) Modify the structure of the table to add a new column “Address”.
b) Make the name and address as primary key for the table.
3. Create two tables EMPLOYEE and DEPARTMENT with the following details?
EMPLOYEE
Employee# Name Job HireDate Salary Dept No
DEPARTMENT
Dpt No Name Location
a) Make Employee No and Department No the Primary keys for EMPLOYEE and
DEPARTMENT tables respectively.
b) Make Dept No of employee table, the foreign key for the DEEPARTMENT table.
c) Display the details of Employees, whose salary is grater than Rs.5000.
d) Display the name of places, where different employees are working.
5. Use the table of question No.4, create queries as per the following specifications?
a) Get the details of all books whose year of publishing in 2005.
b) Get the details of all books whose year of publishing in 2002 or 2005.
c) Get the details of all books whose year of publishing is between 2000 and 2005.
DEPATRMENT
Dpt No Name Location
Enter relevant data and create queries as per the following specifications:
a) Display name and location of the department, where ALLEN is working.
b) Display number and name of all employees who earn more than 2600 in
alphabetical order by name?
c) Write a query that will accept a given job title and displays all rows according to
that title.
8. Consider the following table:
EMPLOYEE
Employee # Name Job HireDate Salary Dept No
DEPATRMENT
Dpt No Name Location
a. Write a query to duplicate the EMPLOYEE table.
b. Calculate the total compensation expense for each department for one year
c. Find the department no where more than one clerk is working
9. Creat a database named Recruitment with the tables Application, interview and
Recruitment. The structure of the tables are given below:
Application
FieldName Data Type Validation Rules/Constraints
Cand Id AutoNumber Primary Key
Name Text (20)
Qualification Text (20) MCA or Msc (CS) or BE or ME
Appl_Date Date Between May 15th to june 30th 2005
Date of Birth Date Between 1st January 1980 And 31st March
1985
Percentage Number Between 70 and 100
Interview
FieldName Data Type Validation Rules/Constraints
Intv Id Auto Number
Cand Id Auto Foreign Key to Can_Id of Applications table
Numbeer
Intv Marks Number Between 1 and 100
Recruitment
FieldName Data Type Validation Rules/Constraints
Recruit Id Text (7)
Intv Id Aito Number
Join Date Date >Current date+1 month and
<Current Date+2 months
Post Text (25)
Recruited
Set the validation rules, while creating the tables and enter data into it:
10. Using the table from Question 9, perform the following operations:
a. create a simple query named Interview List to select only the Cand_id from the
Applications table with the candidates having above 70% and with the qulicatins as
MCA or MSc (CS).
b. From the Interview Table, Select only the Intv_id having Intv_Marks og more than
70, who are to be recruited for posts.
c. Create a look up field for Post_Recruited having the Values Software Engineer,
system Engineer, support Incharge, senior Manager.