Professional Documents
Culture Documents
Index Ism
Index Ism
following fields
S_id
S_name
S_course
S_marks
S_dob
Make S_id as the primary key and apply the
following validations:
1. S_name should start with A and end with
M.
2. S_course can have only BBA OR MBA as
its values.
3. S_marks, it can be NULL or should be > 50.
4. S_dob should be less than the current date.
Enter at least 10 entries in the table.
10. Write steps to put password on the database and
convert it into the required format.
11. Explain in brief about the query object in 26.09.2022
MSACCESS 2007. Write steps to execute queries
using the query wizard. Create an ACCOUNT table
with the following fields:
• Acc no
• Act type
• Do_opening
• Transaction_type
• Balance
• Account H_name
• Transaction ID
Enter 10 records in the table and perform the
following queries on it.
• Display the Acc no, Tranasction_Type in
ascending order.
• Display the details of account where Acc
no is 104.
• Display the details of account table where
Acc no is 101 and name is niket.
• Display the Acc no, Acc type, account
H_name and balance where balance is
greater than 10,000.
12. Create a table named as STUDENT with the 01.10.2022
following fields as: Roll_no
• S_name
• S_city
• age
• marks
Execute the following queries using query
wizard after entering 10 records in the table.
Display all the details of the given table
Display the names in alphabetical order
Display the name along with the marks where
marks are greater than 60
Display the name of students whose name
starts with letter ‘A’.
Display the details of students who live in
‘Delhi’.
Display the details of students who are older
than 10 years.
Display the details of students who live in
‘Pune’ and age should be greater than 18.
• Designation
• Address
Execute the following queries on the table created:
Display the details of the employees
Display the employee id of employee whose
name is siddharth.
Display the name of the employee whose
contact no. is 98454863011.
Update the employee details, set
EMP_GRADE equal to A whose salary is
greater than 50000.
Delete the record of the employee whose
gender is male and designation is manager
15. Create the following table CUSTOMER having the 08.10.22
columns, data types.
Field Name Data Type
Customer_ID Number
Customer_Name Text
Designation Text
City Text
Country Text
Phone Number
Insert the data into table Customer. And apply the
queries:
Display customer details having designation
Sales Representative.
Retrieve customer who is living in Canada.
Show details of the customer whose name is
Anuradha.
Show detail of the customer who lives in
Sweden.
Show detail of the customer who is
Accountant.
Count customers who live in America.
16. Create a table EMPLOYEE either the following 08.10.22
fields:
Emp_id
Emp_name
Dept_name
Designation
Grade
Salary
Address
Perform the following queries on it.
Display the name, designation, and salary of
all the employees whose names begins with
M.
Update the employee designation to assistant
manager where designation is trainer.
Display the employee id, name, salary and
designation for the employees having grade
A.
Delete the record of the employee whose
name begins with S or salary >10000.
17. Create a table employee with the following fields: 10.10.22
• Emp_id
• Emp_name
• Contact no.
• Gender
• Salary
• Emp_grade
• Designation
• Address
Execute the following queries on the table created:
Display the details of the employee whose
address is D-29, IITM-JANAKPURI.
Display the name of the employees having
salary between 10,000 and 30,000.
Update the employee details, set salary
increased by 10% having grade A.
Display the name, designation, and salary of
all the employees whose names contains
‘as’ as a substring.
Calculate the maximum salary
of
employees.
Delete the record of female employees.
Go to previous record
Go to next record
Add a label student form to it.
29. Create a database named as 28.11.2022
RESULT MANAGEMENT with the
following table and the fields.
Student_details:
• R_no
• Name
• Course_ name
• Dob
• Marks
• Address
• Attendance
Course name field will have values as ISM, ITLP or
ED. Enter 5 records.
Create a report named as RESULT_REPORT using
the report wizard which shows the marks obtained
by students in different courses. The report should
have the following:
• Student name, course name and marks.
• Provide a suitable title to the report
which should be right aligned with a
suitable logo and date and time at the
extreme right of the report.
• In the current report add another
column as
R_NO
• The report should be grouped
according to the course name.
Create a report as ATTENDANCE_REPORT using
reports in MS-ACCESS.
30. Create a database named as 12.12.2022
PAYROLL_MANAGEMENT with the following
table and the fields.
1. Employee:
• Emp_no
• Ename
• Department
• Designation
• Salary
Department field will have values as ‘HR’,
“Marketing’ and ‘Finance’.
Enter 5 records.
Create a report named as PAYROLL_REPORT
using the report wizard which shows the salary of
employees in different departments. The report
should have the following:
• Emp_no, Employee Name, Department,
Designation and Salary.
• Provide a suitable title to the report which
should be right aligned with a suitable logo and
date and time at the extreme right of the report.
The report should be grouped according to the
department.