Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For the EMPLOYEE table on page 10, show the output of the following Structured Query Language (SQL) query: SELECT COUNT(*) AS Total, STORE_CODE FROM

For the EMPLOYEE table on page 10, show the output of the following Structured Query Language (SQL) query: EMPLOYEE EMP CODE EMP TITLE EMP LNAME EMP_FNAME EMP INITIAL EMP DOB STORE CODE 1 Mr. W 2 Ms. T 3 Ms. R 4 Mrs.

For the EMPLOYEE table on page 10, show the output of the following Structured Query Language (SQL) query: SELECT COUNT(*) AS Total, STORE_CODE FROM EMPLOYEE WHERE EMP_LNAME Like '%on' GROUP BY STORE_CODE HAVING COUNT(*) > 1 ORDER BY STORE_CODE; EMPLOYEE EMP CODE EMP TITLE EMP LNAME EMP_FNAME EMP INITIAL EMP DOB STORE CODE 1 Mr. W 2 Ms. T 3 Ms. R 4 Mrs. s 5 Mr. L 6 Mr. A 7 Mr. S 8 Ms. 9 Mr. 10 Mrs. 11 Mr. 12 Mr. 13 Mr. 14 Ms. 15 Mr. 16 Mr. 17 Ms. 18 Mr. 19 Mr. 20 Mr. 21 Ms. Williamson John Ratula Nancy Greenboro Lottie Rumpersfro Jennie Smith Robert Renselaer Cary Ogallo Roberto Johnsson Elizabeth Eindsmar Jack Jones Rose Broderick Tom Washington Alan Peter Smith Smith Olenko Archialo Grimaldo Rosenberg Rosten Mckee Baumann Sherry Howard Barry Jeanine Andrew Peter Robert Jennifer 11 W R S Y N H U V K D S A 21-May-64 09-Feb-69 02-Oct-61 01-Jun-71 23-Nov-59 25-Dec-65 31-Jul-62 10-Sep-68 19-Apr-55 06-Mar-66 21-Oct-72 08-Sep-74 25-Aug-64 25-May-66 24-May-64 03-Sep-60 12-Nov-70 24-Jan-71 03-Oct-68 06-Mar-70 11-Dec-74 32453-3 1 1 24 3 2 3 455 4 4 A 1 3

Step by Step Solution

3.43 Rating (156 Votes )

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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Databases questions