Create a view to show the total number of staff for each city with more than 1 staff. The output column header should be city, number_of_staff, sorted by the total number of staff from high to low.

Principles of Information Systems (MindTap Course List)
12th Edition
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter12: Systems Development: Investigation, Analysis, And Design
Section: Chapter Questions
Problem 1SAT
icon
Related questions
icon
Concept explainers
Question

Create a view to show the total number of staff for each city with more than 1 staff. The output column header should be city, number_of_staff, sorted by the total number of staff from high to low.

| staffNo | fName | 1Name
ABC1
CC1
SA9
SG14
SG37
SG5
SL21
SL41
| XY1
| New | Engineer
Super User
Howe
Ford
| Beech
| Mary
David
| Ann
Susan
John
Julie
| New
Brand
White
Lee
Tester
| position
Intern
DBA
| Assistant
| Supervisor
| Assistant
| Manager
| Manager
| Assistant
| Assistant
sex
| M
M
F
M
F
F
M
F
M
| DOB
| salary
| 2000-01-01 | 9000.00 | B002
1995-01-01 | 90000.00
B005
B007
| 1970-02-19 | 9000.00
| 1958-03-24
B003
B003
18000.00
1960-11-10 | 12000.00
1940-06-03 24000.00
1945-10-01 30000.00
1965-06-13
B003
B005
9000.00 B005
B002
| 1990-01-01 |
| branchNo | superno |
8000.00
SL21
SG14
SG5
SG5
SG5
SL21
NULL
SL21
SL21
Transcribed Image Text:| staffNo | fName | 1Name ABC1 CC1 SA9 SG14 SG37 SG5 SL21 SL41 | XY1 | New | Engineer Super User Howe Ford | Beech | Mary David | Ann Susan John Julie | New Brand White Lee Tester | position Intern DBA | Assistant | Supervisor | Assistant | Manager | Manager | Assistant | Assistant sex | M M F M F F M F M | DOB | salary | 2000-01-01 | 9000.00 | B002 1995-01-01 | 90000.00 B005 B007 | 1970-02-19 | 9000.00 | 1958-03-24 B003 B003 18000.00 1960-11-10 | 12000.00 1940-06-03 24000.00 1945-10-01 30000.00 1965-06-13 B003 B005 9000.00 B005 B002 | 1990-01-01 | | branchNo | superno | 8000.00 SL21 SG14 SG5 SG5 SG5 SL21 NULL SL21 SL21
| branchNo
| B002
B003
| B004
|B005
| B007
| street
| 56 Cover Drive
| 163 Main Street
| 32 Manse Road
| 22 Deer Road
| 16 Argyll Street
+
| postcode |
-+
| NW10 6EU |
| G11 9QX
| city
| London
| Glasgow
|
Bristol | BS99 1NZ I
| London
| SW1 4EH
| Aberdeen
Aberdeen | AB2 3SU
·+·
Transcribed Image Text:| branchNo | B002 B003 | B004 |B005 | B007 | street | 56 Cover Drive | 163 Main Street | 32 Manse Road | 22 Deer Road | 16 Argyll Street + | postcode | -+ | NW10 6EU | | G11 9QX | city | London | Glasgow | Bristol | BS99 1NZ I | London | SW1 4EH | Aberdeen Aberdeen | AB2 3SU ·+·
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning