Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Based on the two tables and the attributes below, write SQL commands for each question to retrieve the data from the database. Required: begin{tabular}{|l|c|c|c|} hline

Based on the two tables and the attributes below, write SQL commands for each question to retrieve the data from the database.

image text in transcribed

Required:

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

\begin{tabular}{|l|c|c|c|} \hline tblSales \\ \hline InvoiceNumber & CustomerNumber \\ CustomerNumber & CustomerName \\ SalesOrderNumber & CustomerAddress1 \\ & CustomerAddress 2 \\ & CustomerCity \\ & CustomerState \\ & CustomerZipCode \\ & CustomerTelephone \\ & CustomerCreditLimit \\ & CustomerPrimaryContact \\ \hline \end{tabular} How many customer records are stored in the database? List customers who live in New York. List customers with credit limits greater than $50,000. List sales transactions made in July, 2018. What's the number of total sales transactions made to each customer? \begin{tabular}{|l|c|c|c|} \hline tblSales \\ \hline InvoiceNumber & CustomerNumber \\ CustomerNumber & CustomerName \\ SalesOrderNumber & CustomerAddress1 \\ & CustomerAddress 2 \\ & CustomerCity \\ & CustomerState \\ & CustomerZipCode \\ & CustomerTelephone \\ & CustomerCreditLimit \\ & CustomerPrimaryContact \\ \hline \end{tabular} How many customer records are stored in the database? List customers who live in New York. List customers with credit limits greater than $50,000. List sales transactions made in July, 2018. What's the number of total sales transactions made to each customer

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Accounting questions