Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use simple and basic sql Choose AdventureWorks from the sample databases to write the following queries: In the AdventureWorks database, how many employees are in

image text in transcribeduse simple and basic sql

Choose AdventureWorks from the sample databases to write the following queries: In the AdventureWorks database, how many employees are in each job category in the [HumanResources].[Employee] table. Sort the results by JobTitle. In the [HumanResources].[Employee] table, how many males and females are there? Return all columns from the [Person].[Person] table of people with a first name of 'Tom' In the [HumanResources].[Employee] table, how many employees are at [organizationLevel] 2 Return all [Person].[Address] table information for addresses in the city of "Bothell" Return all [Person].[Address] table information for [AddressLine1] where is "Rose Street" In the [HumanResources].[Employee] table how many males and females are in each job title that has 'buyer' in the job title List all employees from the [HumanResources].[Employee] who have [SickLeaveHours] less than 32 Return all information from [Person].[PersonPhone] for phone numbers in the 212 area code. Order the results by [PhoneNumberTypeId] then [PhoneNumber] From the [Purchasing].[Vendor] table, list all active preferred vendors with a credit rating of 3 . Return the columns: [AccountNumber], [Name], [PurchasingWebServiceURL]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions