LIST OF ASSIGNMENTS TO BE DONE/WRITTEN ON THE PRACTICAL FILE
SUBJECT: INFORMATION TECHNOLOGY(802)
SL.NO QUESTIONS ON STRUCTURED QUERY LANGUAGE
Consider the following tables and write SQL Codes based on the tables: Table:
Employee
EMPNO NAME DOJ DEPT DESIG
E019 Ajay Kumar Singh 01-03-2009 Sales Executive
E183 Binod Shriwas 03-04-2011 Sales Manager
E656 Mohan Soni 11-05-1999 Marketing Manager
E763 Dilip Sharma 07-11-2006 Marketing Advisor
E263 Shreya Basu 08-12-2003 Technical Assistant
E711 Ronita Chowdhury 12-01-2013 Sales Executive
E561 Pallabi Sharma 03-12-2008 Finance Officer
E113 Vikram Kumar 11-11-2005 Technical Officer
Table: Pay
EMPNO MONTH BASIC TOTAL
E019 November 6900 8200
E019 December 6900 8400
E763 October 5200 6500
E711 September 8000 9600
E561 October 8000 10000
E711 November 16000 28000
E561 December 16000 29500
E263 August 12500 15600
1. Write SQL Code to display the details of all Marketing Advisor.
2. Write SQL Code to display the name of the employees in the descending
order of their DOJ.
3. Write SQL Code to display the sum of total in the month of November.
4. Write SQL Code to display the Dept and Desig of those employees whose name
starts with ‘P’.
5. Write SQL Code to display Desig of those employees whose name is not ending
with ‘a’.
6. Write SQL Code to display the total of the employees in the ascending order of
basic in the month of October.
7. Write SQL Code to count the number of unique department.
8. Write SQL Code to display the name of the employees in Sales department.
9. Write SQL Code to display the average total of those whose basic is above 8000.
10. Write SQL Code to display the name and total number of employees’ department
wise.
11. Write SQL Code to display the name and basic of the employees with their matching
EMPNO in both the tables.
12. Write SQL Code to display the name of the employees who got the maximum.
total.
13. Write SQL Code to display the basic of all Executive, Manager and Advisor.
14. Write SQL Code to display the name of all Officers in Upper Case.
15. Write SQL Code to display the sum of basic of all employees except E561.
16. Write SQL Code to display the name and desig of the employees joined in the year
2013.
17. Write SQL Code to display the name of the employees whose dept is entered.
18. Write SQL Code to display the name of the employees whose total is not entered.
Write SQL Code to count the number of Managers.
19.
20.
Write SQL Code to increase the total of all employees in Finance department by 500.
In case of SQL Queries-tables are to be drawn(manually/printouts) in the white Pages,
Questions of SQL Codes and the screenshots (containing queries and Outputs) are to be
pasted in the ruled Pages.
FORMAT OF INDEX
DATE OF TEACHER’S SIGNATURE
COMPLETION
SL.NO ASSIGNMENT
16. SQL Codes based on 2 Table 04-08-2025
To
12-08-2025
SUBMISSION DATE: 21-08-2025 (FOR XII-A AND XII-F)
22-08-2025 (FOR XII-G AND XII-H)