The document outlines the various programs and assignments completed as part of the Design & Analysis of Algorithm Lab course, including installing MySQL, creating ER diagrams, learning SQL statements, database normalization, and implementing queries to solve problems related to an employee database. It provides the index of topics covered each session from September 2022 through November 2022.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
30 views3 pages
Sec B2 (DBMS Lab Front Page & Index)
The document outlines the various programs and assignments completed as part of the Design & Analysis of Algorithm Lab course, including installing MySQL, creating ER diagrams, learning SQL statements, database normalization, and implementing queries to solve problems related to an employee database. It provides the index of topics covered each session from September 2022 through November 2022.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
MORADABAD INSTITUTE OF TECHNOLOGY
MORADABAD
Design & Analysis of Algorithm Lab (KCS-553)
Session 2022-23
Submitted To: Submitted By:
Mr. Pavan Kumar Singhal Pushpendra Assistant Professor Year 3rd, Sem 5th CS&E MIT, Moradabad 2000820100111 INDEX S.No. Program Date Page No. Signature 1 Installation of Mysql 10.09.2022 2 Create ER diagram using case tools 10.09.2022 3 MySQL Data Types 10.09.2022 Writing SQL statements using Oracle/MYSQL 17.09.2022 a) Writing basic SQL SELECT statements. b) Restricting and sorting data. c) Displaying data from multiple tables. 4 d) Aggregating data using group function. e) Manipulating data. f) Creating and managing tables.
24.09.2022 5 Create the concept of Normalization
Creating cursor 01.10.2022
6 Creating procedures and functions. 29.10.2022 7 Creating packages and triggers. 05.11.2022 8 Implementation of foreign key constraints. 12.11.2022 9 10 Queries for solving an employee database 19.11.2022 problem. a) Create employee table b) Insert tuples in employee table (A) Queries for solving an employee database problem. a) Find the names of all employees who work for First Bank Corporation. b) Find the names, street address, and cities of residence for all employees who work for 'First Bank Corporation' and earn more than $10,000. c) Find the names of all employees in the database who live in the same cities as the companies for which they work. d) Find the names of all employees in the database who live in the same cities and on the same streets as do their managers. e) Find the names of all employees in the database who do not work for 'First Bank Corporation'. Assume that all people work for exactly one company. f) Find the names of all employees in the database who earn more than every employee of 'Small Bank Corporation'. Assume that all people work for at most one company. g) Assume that the companies may be located in several cities. Find all companies located in every city in which 'Small Bank Corporation' is located. h) Find the names of all employees who earn more than the average salary of all employees of their company. Assume that all people work for at most one company. i) Find the company that has the most employees. j) Find those companies whose employees earn a higher salary, on average, than the average salary at First Bank Corporation. (B) Consider the relational database & implements following queries in MySQL. a) Modify the database so that Jones now lives in Newtown. b) Give all employees of First Bank Corporation a 10-percent raise. c) Give all managers of First Bank Corporation a 10-percent raise unless the salary becomes greater than $100,000; in such cases, give only a 3-percent raise. d) Delete all tuples in the works relation for employees of Small Bank Corporation.