Create and run the followingnbspsqlnbspqueries and submit

Assignment Help Database Management System
Reference no: EM13353402

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: EM13353402

Questions Cloud

Question from the informations given below you are required : question from the informations given below you are required to prepare a projected balancenbspsheet profit and loss
This project is to develop a program that implements a : this project is to develop a program that implements a hierarchical jpeg encoderdecoder for greyscale images.write your
Objectivesthis is an introductory assignment on java : objectivesthis is an introductory assignment on java synchronization. you will use java threads while learning more
Your company is thinking about acquiring another : your company is thinking about acquiring another corporation. you have two choicesmdashthe cost of each choice is
Create and run the followingnbspsqlnbspqueries and submit : create and run the followingnbspsqlnbspqueries and submit the screen shot of your result. also submit the file
Youve just been hired onto abc company as the corporate : youve just been hired onto abc company as the corporate controller. abc company is a manufacturing firm that
Q a producer and customer agree to transact 10000 widgets : q. a producer and customer agree to transact 10000 widgets per day and they will jointly inspect 120 widgets randomly
Q connecting leadership and stress1 develop an analysis of : q. connecting leadership and stress1 develop an analysis of the leadership styles of directive leadership and
Q1 why did europe wait until the fifteenth and sixteenth : q1. why did europe wait until the fifteenth and sixteenth centuries to begin exploring the world? what elements had to

Reviews

Write a Review

Database Management System Questions & Answers

  Design a set of 3nf tables for your database scenario

Draw an ER diagram for your database scenario. Design a set of 3NF tables for your database scenario.

  Write name of employee on every project located in houston

Write the name(s) of employee(s) who works(work) on every project located in Houston. Write the name(s) of employee(s) who only works(work) on every project located in 'Houston.'

  Write a program to sort back into a single file

Write a program to sort these back into a single file. Oh, and we only have a few nanoseconds to do it, so you'd better do it with pthreads!

  What are the data entities of this enterprise

Consider a student club or organization in which you are a member. What are the data entities of this enterprise? List and define each entity

  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?

  Define database systems and data warehouses

Describe how that firms likely use or should use Management Information Systems, Information Systems and Information Technology as it relates to the various topics covered in the class.

  Access values through queries to databases

However, the only way you can access values is through queries to the databases. In single query, you can specify value k to one of two databases.

  List the price of the item called back scratcher

List the first and last names of any customers who have bought all of the items. (This does not need to be as part of a single purchase).

  Number of employees at the new book sales corporation

To identify the number of employees at the New Book Sales Corporation, you view the records in the Sales Department table.

  Analyze the data in the database and in application exercise

To complete this assignment, you will need to do data calculations. Remember to follow good database practice here by not saving your calculations as part of the data table itself (they should appear only in your queries).

  Consider the eer diagram for a car dealer

Consider the EER diagram for a car dealer in the figure below. Map the EER schema into a set of relations. For the VEHICLE to CAR/ TRUCK/ SUV generalization.

  Solve the serious data redundancy problems

One of the many problems with data redundancy is the likely occurrence of data inconsistencies-two different initials have been entered for the teacher named Maria Cordon.)

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