fix my SQL code Create table Order ( OrderNum INT NOT NULL CustID ShippingStreet ShippingCity ShippingState ShippingZip
Fantastic news! We've Found the answer you've been seeking!
Question:
fix my SQL code
Create table Order (
OrderNum INT NOT NULL
CustID
ShippingStreet
ShippingCity
ShippingState
ShippingZip
OrderDate
DeliveryChange
PaymentInformation
CreditConfirmation
CONSTRAINT OrderNum PRIMARY KEY
CONSTRAINT FOREIGN KEY
Transcribed Image Text:
Home Insert Draw Page Layout ✰ 1 2 J24 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 AutoSave OFF BES 5 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 V Paste X P Ready A X A B orderNum custID 1001 C10 1002 C50 1003 C20 1004 C30 1005 CAO 1006 C100 1007 C90 1008 C70 1009 C140 1010 C90 1011 C80 1012 C60 1013 C20 1014 C90 1015 C60 1016 C70 1017 C90 Drone Calibri (Body) BIU fix C shippingStreet Michigan Ave. Main St. Second St. Main St. Park Ave. Keen Oak Way Lake St. Oak St. Jackson Drive Lake St. Washington Blvd. University Place Second St. Lake St. University Place Oak St. Lake St. Customer ✓ 11 Formulas Data Review View Tell me Order V A A A✓ === ≡≡≡ Delivery D E F G H I OH OH 41073 2020-12-26 41073 2021-1-8 45469 2021-1-10 IL shippingCity shippingState shippingZip orderDate deliveryCharge paymentinformation Dayton Cincinnati Dayton OH Cincinnati OH Dayton OH Chicago Dayton OH Cincinnati OH Chicago IL Dayton OH Dayton OH Cincinnati OH Dayton OH Dayton OH Cincinnati OH Cincinnati OH Dayton OH 41073 2021-1-18 45469 2021-2-3 60601 2021-2-18 45469 2021-2-25 41073 2021-3-2 60603 2021-3-11 45469 2021-3-15 45469 2020-4-10 41073 2020-4-16 45469 2020-5-3 45469 2020-5-11 41073 2020-5-12 41073 2020-5-26 45469 2020-5-26 Store ab Wrap Text Products Merge & Center ✓ 24.99 credit 14.99 credit 24.99 credit 24.99 cash 24.99 credit 14.99 credit 14.99 cash 24.99 cash 14.99 credit 14.99 credit 24.99 cash Dataset_EP-updated 14.99 credit 24.99 credit 14.99 credit 14.99 credit 24.99 credit 14.99 credit OrderLine + General $ % 9 V J CreditConfirmation BCD85XYZ ABC34XYZ BCD34XYZ BCD52XYZ ABC24XYZ ABC64XYZ ABC86XYZ ABC55XYZ BCD48XYZ ABC93XYZ ABC72XYZ BCD68XYZ ABC17XYZ .00 .00 →.0 K Conditional Format Cell Formatting as Table Styles L U M N O Insert v Delete v Format v P Q Σ Share 28. 0. 3 Ideas Sort & Filter Find & Select R B E S T U Qa Comments Sensitivity V 100% Home Insert Draw Page Layout ✰ 1 2 J24 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 AutoSave OFF BES 5 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 V Paste X P Ready A X A B orderNum custID 1001 C10 1002 C50 1003 C20 1004 C30 1005 CAO 1006 C100 1007 C90 1008 C70 1009 C140 1010 C90 1011 C80 1012 C60 1013 C20 1014 C90 1015 C60 1016 C70 1017 C90 Drone Calibri (Body) BIU fix C shippingStreet Michigan Ave. Main St. Second St. Main St. Park Ave. Keen Oak Way Lake St. Oak St. Jackson Drive Lake St. Washington Blvd. University Place Second St. Lake St. University Place Oak St. Lake St. Customer ✓ 11 Formulas Data Review View Tell me Order V A A A✓ === ≡≡≡ Delivery D E F G H I OH OH 41073 2020-12-26 41073 2021-1-8 45469 2021-1-10 IL shippingCity shippingState shippingZip orderDate deliveryCharge paymentinformation Dayton Cincinnati Dayton OH Cincinnati OH Dayton OH Chicago Dayton OH Cincinnati OH Chicago IL Dayton OH Dayton OH Cincinnati OH Dayton OH Dayton OH Cincinnati OH Cincinnati OH Dayton OH 41073 2021-1-18 45469 2021-2-3 60601 2021-2-18 45469 2021-2-25 41073 2021-3-2 60603 2021-3-11 45469 2021-3-15 45469 2020-4-10 41073 2020-4-16 45469 2020-5-3 45469 2020-5-11 41073 2020-5-12 41073 2020-5-26 45469 2020-5-26 Store ab Wrap Text Products Merge & Center ✓ 24.99 credit 14.99 credit 24.99 credit 24.99 cash 24.99 credit 14.99 credit 14.99 cash 24.99 cash 14.99 credit 14.99 credit 24.99 cash Dataset_EP-updated 14.99 credit 24.99 credit 14.99 credit 14.99 credit 24.99 credit 14.99 credit OrderLine + General $ % 9 V J CreditConfirmation BCD85XYZ ABC34XYZ BCD34XYZ BCD52XYZ ABC24XYZ ABC64XYZ ABC86XYZ ABC55XYZ BCD48XYZ ABC93XYZ ABC72XYZ BCD68XYZ ABC17XYZ .00 .00 →.0 K Conditional Format Cell Formatting as Table Styles L U M N O Insert v Delete v Format v P Q Σ Share 28. 0. 3 Ideas Sort & Filter Find & Select R B E S T U Qa Comments Sensitivity V 100%
Expert Answer:
Answer rating: 100% (QA)
It appears that your SQL code fragment for creating an Order table is incomplete as it lacks the data type definitions for various columns and proper ... View the full answer
Related Book For
Concepts of Database Management
ISBN: 978-1285427102
8th edition
Authors: Philip J. Pratt, Mary Z. Last
Posted Date:
Students also viewed these databases questions
-
Locate the centroid x, y of the shaded area. Summarize your answer at the end of your solution. y y = a sin
-
Explain how to apply the rules of Section (61)a to determine taxable items.
-
If the focal length of a lens is 3 centimeters and the image distance is 5 centimeters from the lens, what is the distance from the object to the lens?
-
You are the manager of an educational facility and have beenasked to predict analyze the electric cost for 2020 based on the following 12 months of Information, You know the electric cost has both...
-
When a flashing light approaches you, each flash that reaches you has a shorter distance to travel. What effect does this have on how frequently you receive the flashes?
-
Consider the two dimensional map \[x_{n+1}=\alpha\left(x_{n}-\frac{1}{4}\left(x_{n}+y_{n} ight)^{2} ight) \quad, \quad y_{n+1}=\frac{1}{\alpha}\left(y_{n}+\frac{1}{4}\left(x_{n}+y_{n} ight)^{2}...
-
\(1,345,321\) Use divisibility rules to determine if each of the following is divisible by 2 .
-
(Computation of Basic and Diluted EPS) Charles Austin of the controllers office of Thompson Corporation was given the assignment of determining the basic and diluted earnings per share values for the...
-
In a short report you are required to comment on two work tasks you have completed in a financial services environment. Opening a bank account for a client Providing information to a client on a new...
-
Bestseller Book's binding department has beginning inventory of 5,000 units and $20,000, consisting of $10,000 of direct materials and $10,000 of conversion costs. During the period, the department...
-
Situation: Makabayan Company developed its unadjusted trial balance dated December 31, 2020. Makabayan uses the expedient recording method whenever possible, adjusts its accounts once per year,...
-
Suppose that a firm has an expected return of 8.3% and a variance on the return of 0.0176. Assume the risk-free rate is 2.1%. What is the standard deviation on the return? a) 10.0% b)13.3% c)7.9% d)...
-
In the figure three identical conducting spheres form an equilateral triangle of side length d = 27.5 cm. The sphere radii are much smaller than d and the sphere charges are q = -3.68 nC, qB = -3.13...
-
A US stock paying a $20 dividend in two months is trading at $2,000. Assume the US interest rate is 5% with continuous annual compounding. (a). If the dividend is instead paid in three months, the...
-
Oriole Trucking purchased a tractor trailer for $141000. Oriole uses the units-of-activity method for depreciating its trucks and expects to drive the truck 1000000 miles over its 10-year useful...
-
Tomas began carrying on a home-based business as a sole proprietor on January 1, 2023. In 2023, he received $40,000 cash for services rendered and paid $33,000 in business expenses. On December 31,...
-
A store has 5 years remaining on its lease in a mall. Rent is $2,000 per month, 60 payments remain, and the next payment is due in 1 month. The mall's owner plans to sell the property in a year and...
-
Design a circuit which negative the content of any register and store it in the same register.
-
The following exercises are based on the TAL Distributors database as designed in Example 1 in this chapter. In each exercise, represent your answer in DBDL and with a diagram. You may use any of the...
-
Under what circumstances would you not need to break down an overall design into a consideration of individual user views?
-
The management of Colonial Adventure Tours asks you to research improvements it might make to its database processing. To help management, they would like you to complete the following exercises. You...
-
6. ROLE REVERSAL Write a short-answer question that highlights the difference between compensatory and consequential damages.
-
Question: Marko, a sporting goods retailer, speaks on the phone with Wholesaler about buying 500 footballs. After the conversation, Marko handwrites this message: "Confirming our discussion-you will...
-
You represent a group of neighborhood residents in a large city who are protesting construction of a skyscraper that will violate building height limitations. Draft a complaint, requesting an...
Study smarter with the SolutionInn App