Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
Q1. Based on the two tables and the attributes below, write SQL commands for each question to retrieve the data from the database. tbiSales tblCustomer InvoiceDate CustomerNane Custometaddress Customeraddress CustomerCity CustomerState CustomerZipCode CustomerTelephone SalesOrderNumber CustomerPrimaryContadt Write the SQL for the following quiries a. List customers who live in New York State b. List customers with credit limits greater than $50,000. Q2. Draw the relationship with indication of multiplicity between sales class and cash receipt class satisfying the following rules (draw two boxes for two classes, name them and connect the line, then indicate the mutiplicity in the parenthesis like (1,') or any appropriate numbers inside.) a. b. c. Each sales can be made on credit (without payment) Installment payments are possible Each cash payments received is only for one sales order Q1. Based on the two tables and the attributes below, write SQL commands for each question to retrieve the data from the database. tbiSales tblCustomer InvoiceDate CustomerNane Custometaddress Customeraddress CustomerCity CustomerState CustomerZipCode CustomerTelephone SalesOrderNumber CustomerPrimaryContadt Write the SQL for the following quiries a. List customers who live in New York State b. List customers with credit limits greater than $50,000. Q2. Draw the relationship with indication of multiplicity between sales class and cash receipt class satisfying the following rules (draw two boxes for two classes, name them and connect the line, then indicate the mutiplicity in the parenthesis like (1,') or any appropriate numbers inside.) a. b. c. Each sales can be made on credit (without payment) Installment payments are possible Each cash payments received is only for one sales order

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

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

The Management System Auditors Handbook

Authors: Joe Kausek

1st Edition

087389670X, 978-0873896702

More Books

Students also viewed these Accounting questions

Question

How would we like to see ourselves?

Answered: 1 week ago