Description of this paper

create SQL statements that do the following

Description

solution


Question

Using the database and tables from Week Two, write SQL statements and enter five additional records into the employee table. Check the results by selecting all of the columns from both of your tables;Using the database and tables in Week Two, write SQL queries using various commands;Using the COUNT command, how many employees are over age 47?;Write a SQL query that joins two tables in your database and uses BETWEEN to restrict record selection. (Use salary to restrict the data.);Using the HAVING command, how many positions have more than 3 employees? (e.g. Cashiers, 4);Using the updated database, write the following queries;Use the COMPUTE command to generate a grand total for all of the exempt employees salaries.;Select employees' last names and group them by salary in job titles, grouped into exempt and non-exempt.;Write a SQL query that joins two tables in the example database and uses LIKE to restrict record selection. (Use zip codes to restrict data.);Create a query that shows all employees whose name has the second letter of either an 'a','e','o' or 'u'.;Human Resources has requested a listing of employees. They want the listing to show the first initial of the employee's last name. In addition, they want the report in the following sort order: exempt/non-exempt status, the first letter of their last name, last name, first name and salary. For example: Exempt, S, Smith, Bob, $50,000;Due to a corporate mandate, all employees who are "Asst. Manager", must have their job title changed to "Sr. Supervisor'.

 

Paper#67376 | Written in 18-Jul-2015

Price : $37
SiteLock