fixed s7 problem statement

This commit is contained in:
Tanmay 2024-11-09 16:41:54 +05:30
parent ddb2505d9f
commit 371bf261b9

View File

@ -2,21 +2,18 @@
**Problem Statement:** **Problem Statement:**
Consider following Relation Consider following Relation
Employee(emp_id,employee_name,street,city) Account (Acc_no, branch_name,balance)
Works(employee_name,company_name,salary) Branch(branch_name,branch_city,assets)
Company(company_name,city) Customer(cust_name,cust_street,cust_city)
Manages(employee_name,manager_name) Depositor(cust_name,acc_no)
Create above tables with appropriate constraints like primary key, Loan(loan_no,branch_name,amount)
foreign key, not null etc. Borrower(cust_name,loan_no)
1. Change the city of employee working with InfoSys to Bangalore 1. Create a View1 to display List all customers in alphabetical order who have loan from Pune_Station branch.
2. Find the names of all employees who earn more than the average 2. Create View2 on branch table by selecting any two columns and perform insert update delete operations.
salary of all employees of their company. Assume that all people 3. Create View3 on borrower and depositor table by selecting any one column from each table perform insert update delete operations.
work for at most one company. 4. Create Union of left and right joint for all customers who have an account or loan or both at bank
3. Find the names, street address, and cities of residence for all 5. Create Simple and Unique index.
employees who work for 'TechM' and earn more than $10,000. 6. Display index Information.
4. Change name of table Manages to Management.
5. Create Simple and Unique index on employee table.
6. Display index Information
--- ---