Skip to main content
Open navigation menu
Close suggestions
Search
Search
en
Change Language, English
Upload
Sign in
Sign in
0 ratings
0% found this document useful (0 votes)
64 views
25 pages
Dbms Super Important Questions
notes
Uploaded by
prateekpy91
AI-enhanced title
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save dbms super important questions For Later
Share
0%
0% found this document useful, Mark this document as useful
0%
0% found this document not useful, Mark this document as not useful
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
64 views
25 pages
Dbms Super Important Questions
notes
Uploaded by
prateekpy91
AI-enhanced title
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Go to previous items
Download
Save
Save dbms super important questions For Later
Share
0%
0% found this document useful, Mark this document as useful
0%
0% found this document not useful, Mark this document as not useful
Print
Embed
Report
Go to next items
Download
/ ae te DBMS Cigcss2) ee Sober Deport ant Qu es t8o 4 Mocute —) [Bien oe meee op ny | POMS fproaod fo Manes) te Cts ae vend. das. : es ‘ ahare Management Sesh ove, Pele Processing. C&-le Mower) 2 Brekhly epptadn dt. dheradute tia 9} 2-Desene Dens? Ex an dae) He Chana dentstig © doctebose approach « Hew do Bens “from tradtSora) ‘Scanned with CamScanner‘Scanned with CamScanner‘Scanned with CamScanner Po Wt ; : R oe ans Oy Pabolvone a | rahe on te Beret BO ce neiky) [Ee adensetenainn dotabose CertG ete Hi NO wey ~ Ze ok pe e - wee ° Ser X \ * Ce ) = ten Shanta example Crome) EN estates om AAffns Myhe dtoere [ETS i ESD uses? Deus achtvtites each oe I : Morb) cf 4 9 > os | |9- 6 bohak % data fadcberdence % Explor — i de fous Ayre 4 data Und ePerdence — : : CS Marker) — |eDayne we faucet Eee Wes ‘ |} ee O Deron: oi W)Sremna Conadrar — | Same t)Domsg : ey : i eh ce of thienk Eaitty POT sactfon |e PyaFems careles ‘ Mere Doka ee VY) Snapshot xv) Esty = A)Volve Sea Ny Rvoqrem Deta on VO)Condtrelity Rofo y ~ 2 Se Ate -_ aA Decors nwo phete “Ao je COO CEN conkol -Ho 1 [ Qaononkers Orl=akon | pak ho oO Phase Roddy eenntyoe i te Con cuspanen corntvel Cts Rtn) L er Lon Fn ™ exes bla aqgnenate 4 ton. Squ. mumoand -FS Expldie hoe oe to_add ? deep Onthsin os 7 ale aston vo a x Go Maxl2s) | Fela na) She oiet oho. oe re Excellence & Service ‘Scanned with CamScannerKutbabh Cramte Latrgy Teabtonal algebra Avotakfon » ce Maat) (Deas ue bore dakakybs AvaStale Fov abt bubs % Sat (& Arona) . 7 aa Schama f)Redatfon Stebe F17) Relotfon FE) Domazty tv) Ratty N42 Ditens the varkouy Apes “4 fern Shoratta| Gefin evap s Why f theta oir 2e- Deine forekgn Key » Explain oll porte. Shttons brat can be thedfred wher referatta) Cakgeihy combat tVelabel negthy eyes bt. Explain Uth ecamples, He haste convent tne® Can ‘ro 3 peck ed and Gedy hens taba 8 created ty SEL 2 CoCmady [Link] Matton sdeletton 2 remade hia bea, anomalies, . Ld 9 < 4 s 4 Explets Ge ey g oo is ean ad ‘Scanned with CamScanner lo» DPscuns eyfoin 4 mahual go? wih Wey Nyy } iy| 5 ee Excellence & Service ‘Scanned with CamScannery refereeing the following Database schema. (©) Employee(Fname, Minit, name, SSN, Bdate, Address, Sex, Salary, Sup_SSN,Dno) [Department(Dname, Dnumber, Mer_SSN, Mer_Start_date) [Dept_Locations( Dnumber, Ilocation) Project( Pname, Pnumber, Plocation, Dnum) |Works_On( Essn, Pno, Hours) [Dependent ( Dependent_Name, Sex, Bdate, Relationship) Write the relational algebra expressions for the following queries i) Retrieve all the employee names who are working for department number 5. ii) Retrieve all the projects which are controlled by department number 4. iii) Retrieve the names of employees who have no dependents. iv) Retrieve all the Employee Name who is working on all the projects in which John Smith} works on. 'v) Retrieve all the project numbers along with number of employee working on cach project Scanned with CamScanner‘onsider the following COMPANY database 10M EMP(Name,SSN,Salary,SuperSSN,Gender,Dno) DEPT(DNum,Dname,MgrSSN,Dno) DEPT_LOC(Dnum, location) DEPENDENT(ESSN,Dep_name,Sex) WORKS_ON(ESSN,Pno,Hours) PROJECT(Pname,Pnumber,Plocation,Dnum) rite the relational algebra queries for the following (i)Retrieve the name, address, salary of employees who work for the Research lepartment. (ii) find the names of employees who work on all projects controlled by department umber4. liii) Retrieve the SSN of all employees who either in department no :4 or directly] supervise an employee who work in department number :4 (iv) Retrieve the names of employees who have no dependents (v) Retrieve each department number, the number of employees in the department and ©) Q3 heir average salary. Scanned with CamScanner(c) Consider the following relation schema Works(Pname,Cname,salary) Lives(Pname,Street,City) located_in (Cname, city) Manager(Pname,Mgrname) Write the SQL queries for the following li) Find the names of all persons who live in the city Bangalore. ii) Retrieve the names of all person of "Infosys" whose salary is between Rs .50000 iiii)Find the names of all persons who lives and work in the same city iiv)List the names of the people who work for “Tech M” along with the cities they live in, v)Find the average salary of “Infosys” persons 10M Scanned with CamScannerWay an cupwwyce wins Ul UG UL MULE PLUycuLs (iv) Anemployee has dependents (v) A department controls the projects C (08 Marks) : a Modu! : é What is meant by Integrity Constriant?“Explain the importance of referential integrity constraint. How referential integrity constraint is implemenited in SQL. (08 Marks) Write the relational: algebra operations t to perform the following queries: (i) Retrieve the name and address of all em loyees who work for the “Accounts” department. (ii) Retrieve the names of, emp (iii) \Firid the names of employees who work on Vall the projects controlled by department g humber 2. (06 Marks) Scanned with CamScanner2. Any revealing of Important Note : 1. On completing yi gOR jational mapping. algorithm with suitable example for each step. (10 Marks) y o b. Write the SQL queries for the following database schema: Student (USN, NAME, BRANCH, PERCENTAGE) Faculty (FID, FNAME, DEPARTMENT, DESIGNATION, SALARY) Course (CID, CNAME, FID) Enroll (CID, USN, GRADE) (i) Retrieve the names of all students enrolled for the course ‘CS_54” (ii) List all the‘departments having an average salary of the faculties above Rs.10,000. (iii) List the names of the students enrolled for the course’CS_51’ and having ‘B’ grade. ab . (06 Marks) Scanned with CamScanner131. On completing your answers, compulsorily draw dia 2. Any reveoling of identification, appeal to evaluator a: c. Given the Halong eheine 5 ee ~ a ° . ¢,, SSN , Bdate, adareiby gender salary’ suiperSSN , Dno) dept (Dnameg amber, MgrsSA jatigrstartdate) a? dept_loc (Dnumber , Dloc) & * ¢ project ( Pnaihe, Pnumber, PlocsDnuim) [Link] (ESSN, Pno , hows) i? it (ESSN , depen es name, gender , pate, relationship) i sssion for the, 2 fa) Ilswing : Retrieve the name'ofthe manager of gavhfdepartment. For each project, fetrieve the projet, number , project name and number of employee emp (fname, Li Scanned with CamScannerc. Given the following schema Emp (Fname, Lname , SSN , bdate , address, gender, sal dept (dname , dnumber, mgrSSN , mgrstartdate) & dept_loc (dnumber, dloc) project (Pname, Pnumber, Ploc , dnum) f. works_on {ESSN, Pno, hours) ~ a” dependent (ESSN , dependent_name, gender; Give the relation algebra expression ‘ore i) ii) iii) iv) ’) "0 wa a 2 ‘date, relationship) lowing : Retrieve the name and address, sof all"émployees who work for ‘Sorts’ department. Retrieve each department nympberynumber of [Link] their average salary. nd department manager’s last List the project number, controlling department number fi name , address and birthd: Saad Retrieve the name of e1 yees With 2 or more dependents. ~ List female employeesdrom dno = 20 earning more than 50000. (10 Marks) CO & Scanned with CamScannerc. Given the schema‘: Passenger (pid, pname, pgender, pcity) Agency (aid, anme, acity) Flight (fid, fdate, time, src, dest) Booking (pid, aid, fid, fate) Give relation algebra expression for the following : i) Get the complete details ofall flights to new Delhi ii) Find only the flight numbers for passenger with paid 123 for flights to Chennai before 06/1 1/2020 iii) Find the passenger names for those who do not have any bookings in any flights _ iv) Get the details of flights that are scheduled on both dates 01/12/2020 and 02/12/2020 at a 16:00 hours v) Find the details of all male passengers who are associated with jet agency. (10 Marks) Scanned with CamScannerWrite SQL query for the following database scheme : Employee(employee_name, street, cily) Works (employee_name, company_name, salary) , Company(company_name, city) Manages(employec_name, manager_name) ‘: i) Find the names, street address, and cities of residence for all employees who work for ‘First Bank Corporation’ and earn more than $10,000 . ii) Find the names of all employees in the database who do not work for ‘Firs Corporation’. Assume that all people work for exactly one company iii) Find the names of all employees in the database who eam more that every employee of ‘Small Bank Corporation’. Assume that all people work for at most one company iv) Find the name of the company that has the smallest payroll y) Find the names of all employees in the database who live in the same cities and on the same streets as do their managers, (10 Marks) Bank * Scanned with CamScannerARS aaa 8 Bo Lin rate % Explase = Avante, Gengle —trer % boar Etes QL, Explore = ? = en SOL woth Exe Showed roosting aS [ac oa aad Soto Ye DRC dvives Excellence & Serie Leon ‘Scanned with CamScannerSs Hew to Creake View Pn Sa? Eriplan Lets exomble (6 Maverd [Link] GB SeLT% How MU & Athlon §rom THR 2 (GU rons QeWher & CHT Q Why toy CAL tnhrvdoady Whar ou the ASsadvarbages O 2 AdFtechon 96 COR cnt pee Cg rosea) Brlohad 8 dunande SALB How Mt & Mount from embedded zane len : ae) As Explain tre Eammands UR e6% T)DRoe command *K)Ddeke command TH) Trek command &V) Opdate Command ) Piter command Cro Moats) Los blows @% a Veen ereated + dvolped & DShak or Lhe frollera arsockaked ust Ubaarmoa S Views Cro Mores S CkvrGles to Quesdba S— COBLUE Ex de Follousrg, ‘ Derabaded Seu R\Patabase SVE Grocediore Cro Morr) 2 ‘Scanned with CamScannerpan Pl ap we Ce ntorks Row does SAL allots @mblem So. ‘ i p-qenwal Rotegot, commas 9 Moo Ex xs Leth ex A Comsealle Co- related Nerved Warrer & jatsmeake C3 “eet ommuricarborn vanfablis C3 ces a} sevice ‘Scanned with CamScannerVo. dye ne ?) Aggregate function 8) Frtgqen ; nee Poe up dabablting tv) Crowes Group ey £ hav? V br Korma VP) Towa SenPpia o Ear fon Server Ce-8 ae Module 4 4 cluue Geataimctes: le Explain Informal dertan Qurdelurr Lov relational desta 4&chema. G =) De pShake the Meed der Naw “9 Ekblaiy AmP, IN 2 owe wep en? Ce reas 2 Wher dow You Biker by athfhute Closime 2 6fve an ad Ce menses) ‘Scanned with CamScanner STS SS PAA NN ANOAANAKRAKNANM AANA A Na wiComtey alved depend nee Exptam Atfboank saps he RESY Bnomalie T Wha domale Key Teme) Forme DER?) Kroon = Ulitmare NES Me ene Ccblar deloend , Exiblotn oat tits elon dencr4. 3 EET | 23 Excellence & Service —~ ‘Scanned with CamScanner12. Explain any 2. measure employed how evelattonal fchema destan (te Aleat 4) I. Lvthe agente to ffrd chotum % Se BS BY C& Markay Mes Dapne non- addébive Joon property m4 de CompasPifon 2 usvite an ovPthen Bon Lestty = mon additive {ota re Roadmap ry DRM CKariys —— ‘Scanned with CamScanner
You might also like
Normalize Employee Table to 3NF
PDF
50% (2)
Normalize Employee Table to 3NF
28 pages
SCH 17cs53
PDF
No ratings yet
SCH 17cs53
11 pages
DBMS Lab Manual for CSE Students
PDF
57% (7)
DBMS Lab Manual for CSE Students
70 pages
DBMS Lab Manual and SQL Exercises
PDF
No ratings yet
DBMS Lab Manual and SQL Exercises
24 pages
Makaut DBMS Previous Year Questions
PDF
No ratings yet
Makaut DBMS Previous Year Questions
67 pages
GCP Cloud Computing Week 4 Assignment
PDF
100% (2)
GCP Cloud Computing Week 4 Assignment
4 pages
DBMS Lab: Library Database Queries
PDF
67% (3)
DBMS Lab: Library Database Queries
31 pages
DBMS Laboratory Exam Questions & Solutions
PDF
83% (6)
DBMS Laboratory Exam Questions & Solutions
4 pages
DBMS Lab Questions and Answers Guide
PDF
100% (1)
DBMS Lab Questions and Answers Guide
56 pages
College Employee and Department Database Setup
PDF
100% (1)
College Employee and Department Database Setup
8 pages
Database Design Lab Exam Guide
PDF
No ratings yet
Database Design Lab Exam Guide
4 pages
DBMS Exam Questions and Topics
PDF
No ratings yet
DBMS Exam Questions and Topics
9 pages
DBMS Unit 4: Transaction Concepts
PDF
No ratings yet
DBMS Unit 4: Transaction Concepts
22 pages
Relational Algebra Questions and Answers
PDF
100% (1)
Relational Algebra Questions and Answers
8 pages
Database Management Lab Cycle Sheet
PDF
100% (2)
Database Management Lab Cycle Sheet
21 pages
Characteristics of Database Systems
PDF
100% (1)
Characteristics of Database Systems
33 pages
NPTEL Cloud Computing Week 5 Assignment
PDF
No ratings yet
NPTEL Cloud Computing Week 5 Assignment
4 pages
SQL Practice Questions for Teachers
PDF
No ratings yet
SQL Practice Questions for Teachers
10 pages
Big Data Analytics by Seema Acharya PDF 9 PDF Free
PDF
No ratings yet
Big Data Analytics by Seema Acharya PDF 9 PDF Free
370 pages
Reliability Techniques in Distributed DBMS
PDF
100% (1)
Reliability Techniques in Distributed DBMS
27 pages
DBMS Lab Question Bank and Solutions
PDF
67% (3)
DBMS Lab Question Bank and Solutions
3 pages
AD3381 Database Design Lab Manual
PDF
100% (2)
AD3381 Database Design Lab Manual
96 pages
DBMS Lab Assignments Overview
PDF
100% (3)
DBMS Lab Assignments Overview
3 pages
Complex Data Types in Database Systems
PDF
No ratings yet
Complex Data Types in Database Systems
24 pages
BCA DBMS Lab Manual Activities
PDF
No ratings yet
BCA DBMS Lab Manual Activities
2 pages
DBMS Lab Manual for AJIET Students
PDF
No ratings yet
DBMS Lab Manual for AJIET Students
69 pages
Understanding Transaction Management
PDF
No ratings yet
Understanding Transaction Management
28 pages
ER to SQL Mapping and Commands Guide
PDF
100% (1)
ER to SQL Mapping and Commands Guide
24 pages
Notes (DBMS) Knowledge Gate
PDF
No ratings yet
Notes (DBMS) Knowledge Gate
85 pages
Understanding Serializability in DBMS
PDF
No ratings yet
Understanding Serializability in DBMS
28 pages
Big Data Analytics Lab Manual
PDF
No ratings yet
Big Data Analytics Lab Manual
51 pages
DBMS Practical Exercises and Queries
PDF
No ratings yet
DBMS Practical Exercises and Queries
50 pages
AKTU DBMS Syllabus and Exam Questions
PDF
No ratings yet
AKTU DBMS Syllabus and Exam Questions
4 pages
Akash
PDF
No ratings yet
Akash
61 pages
DBMS Lab Manual for CSE 4th Sem
PDF
100% (1)
DBMS Lab Manual for CSE 4th Sem
65 pages
Cloud Computing
PDF
No ratings yet
Cloud Computing
96 pages
Spark Big Data Mini Project Guide
PDF
No ratings yet
Spark Big Data Mini Project Guide
3 pages
MCS-023 Database Management Systems Exam
PDF
No ratings yet
MCS-023 Database Management Systems Exam
90 pages
Installing and Configuring MongoDB
PDF
0% (1)
Installing and Configuring MongoDB
9 pages
NPTEL Cloud Computing Week 3 Answers
PDF
No ratings yet
NPTEL Cloud Computing Week 3 Answers
4 pages
MongoDB Schema for Country-City Data
PDF
No ratings yet
MongoDB Schema for Country-City Data
36 pages
Data Analytics Lab Exercises for CSE-AI
PDF
No ratings yet
Data Analytics Lab Exercises for CSE-AI
31 pages
Module 3 Quiz: Database Management Essentials
PDF
No ratings yet
Module 3 Quiz: Database Management Essentials
4 pages
DBMS Exam Paper KCS501 2021-22
PDF
No ratings yet
DBMS Exam Paper KCS501 2021-22
2 pages
DBMS Lab Activities: SQL Commands Guide
PDF
No ratings yet
DBMS Lab Activities: SQL Commands Guide
21 pages
DBMS 2 Marks Questions & Answers
PDF
100% (2)
DBMS 2 Marks Questions & Answers
33 pages
DBMS Unit 1 Overview and Concepts
PDF
100% (1)
DBMS Unit 1 Overview and Concepts
28 pages
DBMS Lab Manual and Exercises
PDF
No ratings yet
DBMS Lab Manual and Exercises
26 pages
File Caching in Distributed Systems
PDF
No ratings yet
File Caching in Distributed Systems
10 pages
Efficient Data Archiving in Hadoop
PDF
No ratings yet
Efficient Data Archiving in Hadoop
32 pages
BASE Model in NoSQL Explained
PDF
100% (1)
BASE Model in NoSQL Explained
25 pages
Big Data & Web Programming Lab Manual
PDF
No ratings yet
Big Data & Web Programming Lab Manual
51 pages
Understanding Transaction Management in DBMS
PDF
60% (5)
Understanding Transaction Management in DBMS
43 pages
NoSQL Laboratory Manual for Engineers
PDF
No ratings yet
NoSQL Laboratory Manual for Engineers
169 pages
DBMS Lab Manual for CSE 4th Sem VTU
PDF
100% (2)
DBMS Lab Manual for CSE 4th Sem VTU
34 pages
Web Security Unit 4
PDF
No ratings yet
Web Security Unit 4
14 pages
Introduction to NoSQL Databases
PDF
No ratings yet
Introduction to NoSQL Databases
16 pages
Understanding the CAP Theorem in DBMS
PDF
100% (1)
Understanding the CAP Theorem in DBMS
3 pages
Cloud Computing Assignments Overview
PDF
100% (8)
Cloud Computing Assignments Overview
53 pages
DBMS Question Papers
PDF
No ratings yet
DBMS Question Papers
20 pages