联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> CS作业CS作业

日期:2018-09-03 01:18


Database Fundamentals - Assignment 2

Basic Joins

1.Find the names of all single un-married male employees currently working for the company

2.Find the First and Last name of all customers who have purchased items in the database

3.Find the names of all employees who currently work in the Production Department

4.Find the names of all Business Contacts in the Database

Hard Joins

1.Find the names of all current employees and their departments who are salaried employees (exempt from collective bargaining).


2.Find the names of all current employees that work in departments other than the sales department.

3.Find the names of bicycle stores in Victoria Australia

Aggregates

1.Calculate the number of employees currently working in each different department

2.Find the names of all stores that have more than one address on record.

3.Count the number of customers without an address on record.

Hard Aggregates

1.Find the state in Australia with the most bicycle stores for this company.

2.Find the names and sales quota of the stores that have the highest sales quota of all stores and whose store name starts with the letter ‘C’.  MAX should be SUM as this is finding the store with the person with the highest sales quota.

3.Find the number of Job Candidates with known departments including those whose department cannot be determined.  Use the words “Unknown” for candidates where the department cannot be determined.

Sub Queries

1.Find the names of all customers without an address on record

Set Operators

2.Give a list of First and Last Names of all people that have the same First and Last Name of someone who lives in Australia.


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp