Create and run the following sql queries

Assignment Help Database Management System
Reference no: EM137446

Create and run the following sql queries and submit the screen shot of your result. Also submit the file lab_06_03.sql


1.The HR department needs a query that prompts the user for an employee last name. The query then displays the last name and hire date of any employee in the same department as the employee whose name they supply (excluding that employee). For example, if the user enters Zlotkey, find all employees who work with Zlotkey (excluding Zlotkey).

2. Create a report that displays the employee number, last name, and salary of all employees who earn more than the average salary. Sort the results in order of ascending salary


3. Write a query that displays the employee number and last name of all employees who work in a department with any employee whose last name contains a u. Place your SQL statement in a text file named lab_06_03.sql. Run your query.

Reference no: EM137446

Questions Cloud

Derive the foc and soc conditions of profit maximization : Derive the FOC and SOC conditions of profit maximization for this firm. Show that SOC is satisfied (impose necessary conditions). Which plant will have a greater increase in output? Please explain why.
Java threads : This is an introductory assignment on Java synchronization. You will use Java Threads while learning more about concurrency and achieving atomicity using Java’s inbuilt mechanisms.
Capital budgeting case : Your company is thinking about acquiring another corporation. You have two choices—the cost of each choice is $250,000. You cannot spend more than that, so acquiring both corporations is not an option. The following are your critical data:
Create and run the following sql queries : Create and run the following  sql  queries and submit the screen shot of your result. Also submit the file lab_06_03. sql
Net-present-value method to analyze investments : What are the major risk factors that you see in this project?  b. As the controller and a management accountant, what is your responsibility to this project?  c. What do you recommend the CEO do?
Ap/adms 4551 auditing course: and other assurance services : Course:  AP/ADMS 4551 Auditing: and Other Assurance Services,  What is the auditor's responsibility for discovering this type of embezzlement.
Advance financial accounting questions. : Which part of the value of the stock is due to growth? Explain your answer. Totla 5 questions based on Advance Financial Accounting.
Ap/adms 4551 auditing: and other assurance services : Describe the five components of the definition of auditing. For each component, identify which aspects of the audit committee oversight audit fit the definition.

Reviews

Write a Review

Database Management System Questions & Answers

  Relational algebra operations

List the sequence of relational algebra operations needed to implement the queries.

  Evaluate maximum rate at which data can be read from disk

What is the maximum rate at which data can be read from disk, assuming that we can only read data from one surface at a time? What is the average rotational latency?

  Evaluate the functional dependencies

What are the functional dependencies among the data represented in this first normal form relation?

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Practice on topic of normalization

Practice on topic of Normalization

  Draw an entity relationship diagram for the system

Draw an Entity Relationship diagram for the system and Identify the table design for the database displaying all the fields/attributes. Ensure that all tables are in 3NF. You also need to identify the primary keys and foreign keys, where applicable..

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Data modeling and normalization

Data Modeling and Normalization

  Description of the relationship represented by scatterplot

Produce a scatterplot of Rent vs. Size (square meters of the apartment) for the rental data in rent.

  Prepare the relational schema for database

Prepare the relational schema for database

  Analysis of a simple case study

VSS has an existing software package that controls its high bay systems and wants to rewrite it. The existing system is written in C and uses C-ISAM files to store data.

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd