Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me with these questions Once you have setup your MDC_CH02 database, create an SQL script named MDC-CH02-CQ.sql, and use it to record and

Please help me with these questions

image text in transcribed

image text in transcribedimage text in transcribed

Once you have setup your MDC_CH02 database, create an SQL script named MDC-CH02-CQ.sql, and use it to record and store SQL statements that answer each of the following questions (if the question requires a written answer, use an SQL comment to record your answer): A. Show all data in each of the tables B. List the LastName, FirstName, and Phone of all customers. C. List the LastName, FirstName, and Phone for all customers with a FirstName of 'Nikki' D. List the LastName, FirstName, Phone, Dateln, and DateOut of all E. List the LastName, FirstName, and Phone of all customers whose F List the LastName, FirstName, and Phone of all customers whose orders in excess of $100.00 first name starts with 'B' last name includes the characters 'cat' G. List the LastName, FirstName, and Phone for all customers whose second and third digits (from the left) of their phone number are 23 For example, any phone number with an area code of "723" woulc meet the criteria. H. Determine the maximum and minimum TotalAmount. I. Determine the average TotalAmount. J. Count the number of customers. K. Group customers by LastName and then by FirstName

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_2

Step: 3

blur-text-image_3

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