Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CI want the sql code for each qustionreate a list of all Florida and Georgia customers. Display all the customer's information. Display the information of

CI want the sql code for each qustionreate a list of all Florida and Georgia customers. Display all the customer's information.
Display the information of customers who were born in 1976.
Count the number of different items of carried by Clearwater Traders.
Display all shipments that have not yet been received.
Calculate the total quantity on hand for each inventory item in the INVENTORY tableignore their different sizes and colors.
Display how many orders were placed in May, 2006, and paid by credit card.
Display how many inventory items have an inventory price greater than $60.00 and are available in a size of L or XL.
Determine how many orders were received from each of the available order sources (OS_ID).
Display each customer's first and last names and their age in years.
10.Display items in stock (that is INV_QOH >0) that are available in sizes Small, Medium or Large.
CUSTOMER
\table[[C_ID,C_LAST,C_FIRST,C_MI,C_DOB,C_ADDRESS,C_CITY,C_STATE,C_ZIP],[Number,String,String,String,Date/Time,String,String,String,String],[1,Graham,Neal,R,1210?1967,9815 Circle Dr.,Tallahassee,FL,32308],[2,Sanchez,Myra,T,814?1958,172 Alto Park,Seattle,WA,42180],[3,Smith,Lisa,M,412?1960,850 East Main,Santa Ana,CA,51875],[4,Phelp,Paul,,118?1981,994 Kirkman Rd.,Northpoint,NY,11795],[5,Lewis,Sheila,A,830?1978,195 College Blvd.,Newton,GA,37812],[6,James,Thomas,E,601?1973,348 Rice Lane,Radcliff,WY,87195]]
ITEM
\table[[ITEM_ID,ITEM_DESC,CAT_ID,ITEM_IMAGE],[Number,String,Number,String],[1,Men's Expedition Parka,3,parka.jpg],[2,3-Season Tent,4,tents.jpg],[3,Women's Hiking Shorts,1,shorts.jpg],[4,Women's Fleece Pullover,1,fleece.jpg],[5,Children's Beachcomber Sandals,2,sandals.jpg],[6,Boy's Surf Shorts,2,surfshorts.jpg],[7,Girl's Soccer Tee,2,girlstee.jpg]]
ORDER_LINE
\table[[OIID,INVIID,OL_QUANTITY],[Number,Number,Number],[1,1,1],[1,14,2],[2,19,1],[3,24,1],[3,26,1],[4,12,2],[5,8,1],[5,13,1],[6,2,1],[6,7,3]]
SHIPMENT
\table[[SHIP ID,SHIP_DATE EXPECTED],[Number,Date/Time],[1,0915?2006
image text in transcribed

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

More Books

Students also viewed these Databases questions