# solved: SQL questions 1) Count the number of departments. Select Count…

SQL questions 1) Count the number of departments. Select Count…Image transcription textemp no emp_fname emp_Iname dept no 25348 Matthew Smith d3 10102 Ann Jones d3 18316 John Barrimored1 29346 James James d2 9031 Elke Hansel d2 2581 Elsa Bertoni d2 28559 Sybill Moser d1 Table 1-2 TheEmployee Table project no project_name budget p7 Apollo 120000 p2 Gemini 95000 p3 Mercury… Show more… Show moreSQL questions1) Count the number of departments.Select Count ([dept_no])from [dbo].[department]  2) What is the department number for Accounting?select [dept_no]from [dbo].[department]where [dept_name] = ‘Accounting’  3) List department names for departments located in Dallas. Select [dept_name]from [dbo].[department]where [location] = ‘Dallas’ Using the project table, answer the following questions: 4) How many projects are in the table?Select Count([project_no])from [dbo].[project]  5) How many projects have a name that end with eth letter o?Select Count([project_name])from [dbo].[project]where [project_name] like ‘%o’  6) What is the total budget for all projects?Select Sum([budget])from [dbo].[project]  7) What is the most expensive budget?select Max([budget])from [dbo].[project]  8) List project name and budget.  Order by budget descending. select [project_name], [budget]from [dbo].[project]Order by [budget] Desc Using the work_on table, answer the following questions: 9) How many unique jobs are listed in the table?Select Count(Distinct([job]))from [dbo].[works_on]  List all employee numbers and dates where the work began after May 2007Select [emp_no], [enter_date] from [dbo].[works_on] where [enter_date] >= ‘2007-06-01’ Computer ScienceEngineering & TechnologyMYSQLBADM 7301

Don't use plagiarized sources. Get Your Custom Essay on
solved: SQL questions 1) Count the number of departments. Select Count…
Just from \$10/Page

## Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors:
Number of pages
Urgency
Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

# Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

### Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

### Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

### Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.