Sunteți pe pagina 1din 1

Database Assignment

1. Define Database DBMS? Also explain goals of Database Management System (DBMS)?  
2. With neat sketch discuss the overall structure of DBMS.  
3. What do you mean by data model? Explain the various types of data models  
4.What is data abstraction and data independence? Explain their types 
5. What is Relational Database? Explain with example.  
6.Explain the fundamental operation in relational algebra 
7.Define Primary Key and Foreign Key with example.   
8.Differentiate between DDL and DML?  
9. What are the differences between DELETE and DROP commands of SQL?  
10.Explain the concept of ER model with suitable example. 
11. Explain set operators in SQL with example. 
12. What are different alter commands in SQL? Explain with example. 
13. Explain ‘Group by’ and ‘having clause’ in SQL with example. 
14. Explain different types of Database system applications with the help of examples. 
15. Draw schema for university databases. 
16. Consider the following relation:  
 
Employee(Emp_id, emp_name, Dept_name,Designation , DOB, salary)  
 
Write SQL Queries:  
 
i. Display emp details whose name start with ‘A’. 
ii. List the employees according to ascending order of salary.  
iii. List the employees according to ascending order of salary in each department.  
iv. Find the employees who are born on feb 29 
v. Display the name & Salary of each employee who works in Accounts department 
vi. Find the employee name whose salary is highest salary  
vii. Change the name of emp ‘AMAN’ to ‘ABHIJEET’. 
viii. Delete all tuples in the emp relation for emp of dept_name=’IT’. 
ix. Display the list of emp excluding job title as ‘Salesman’.  
x. Display name and salary for all emp. Whose sal is not in the range of Rs.5000 and  
20000. 

S-ar putea să vă placă și