The document provides instructions for creating and querying an "Employee" database with fields for name, ID, department number, block number, department name, job, salary, company, and city. It lists several queries to find employee names and departments, unique employee names, employees earning over $50,000 per month, employees working for a specific company and their cities, and displaying names with additional fields. It also includes instructions to alter the structure to add a state field and update company names.
The document provides instructions for creating and querying an "Employee" database with fields for name, ID, department number, block number, department name, job, salary, company, and city. It lists several queries to find employee names and departments, unique employee names, employees earning over $50,000 per month, employees working for a specific company and their cities, and displaying names with additional fields. It also includes instructions to alter the structure to add a state field and update company names.
The document provides instructions for creating and querying an "Employee" database with fields for name, ID, department number, block number, department name, job, salary, company, and city. It lists several queries to find employee names and departments, unique employee names, employees earning over $50,000 per month, employees working for a specific company and their cities, and displaying names with additional fields. It also includes instructions to alter the structure to add a state field and update company names.
• Find the employee names and their respective departments. • Find out the name of working employee without duplicate value. • Find the names of employee those are taking salary more than 50000 per month. • Find the name and city of employees working for Infosys. • Write a query to display names, department number and department name of all the employees. • Write a query to display names, job,dept no and dept name for all employees who work in block no 09. • Alter the structure of the given table and add new col= “STATE” and fill the values in it for all Employee. • Assume that 5 employee has change their organization form “ Infosys to Microsoft” now Update the company name for them. • Write a query to display the names of all employees where the third letter of name is ‘c’. • Write a query to display the names of all employees whose name started with letter ‘a’. Create this data base :Employee • Employee{emp_name,emp_id,dept_no,block_no,dept_name, job, salary, company,city} • Find the employee names and their respective departments. • Find out the name of working employee without duplicate value. • Find the names of employee those are taking salary more than 50000 per month. • Find the name and city of employees working for LPU • Write a query to display names, department number and department name of all the employees • Write a query to display names, job, dept no and dept name for all employees who work in block no --