Practical Assignment For DBMS
Practical Assignment For DBMS
PRACTICAL ASSIGNMENT-3
Create a relational database that contains the following tables and insert the following
data into these tables.
12. Count the Total no of Students in each department arrange that calculate students in
descending order.
13. Display data of student firstname members in alphabetical order.
14. Count the Total no of Students semester wise.
15. Display data of student who are currently in semester 1 but not a gender female.
Create a relational database that contains the following tables and insert the data into these
tables.
Employee( empid, ename, city, salary, post, dept_no, join_date)
Department(dept_no, dname, location)
Skill(empid, skill)
Skill- writing, speaking, typing
1. List the employee details that are from Baroda or Ahmedabad and working in sales
department.
2. Display the information of employees having typing skill and working in computer
department who are currently joined.
3. List of the empid, ename, department number and skill of employee whose join date is
20th of any month.
4. Calculate total experience of employee. Consider the todays date.
5. Calculate department wise total salary and display only those departments which pay
maximum salary.
6. List the name of employee whose name staring with s or m character who are working
in computer department and having speaking skill.
7. Count the no of employee working in system department of Pune Location.
8. Arrange the employee name in alphabetic order whose salary between 4000 to 12000 and
working in sales department.
9. Count total no of employee in Sales department.
10. Count the total no employee date wise and display only those date which having at least
2 employee.