Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You manage data for Screwy, a screw manufacturer in southern Oklahoma City. The Screwy staff aren't too analytical and only maintain simple records of Orders

You manage data for Screwy, a screw manufacturer in southern Oklahoma City. The Screwy staff aren't too analytical and only maintain simple records of Orders in a single table. They also maintain two separate tables to keep track of their customers and part offerings. All of this is saved in a single database creatively named "Screwy".
Open this MySQL code and run it. This will create the database Screwy for you to work with.
Or
Copy and paste the following SAS code (Step 1-> Step 2) to your SAS on demand instance to import the database. You should only need to use Step 1 the first time you download the data. Step 2 will need to be run each time your reset your SAS session.
The Orders table includes:
Order_Number (Numeric)(PK)
Customer_ID (Numeric)(FK)
Part_Number (Numeric)(FK)
Quantity (Numeric)
Total_Cost (Numeric)(Total_Cost is in USD)
The Parts table includes:
Part_Number (Numeric)(PK)
Part_Name (Text)
The Customers table includes:
Customer_ID (Numeric)(PK)
Customer_Name (Text)
Customer_Credit_Line (Numeric)(Credit line is in USD)
PK- Primary Key, FK- Foreign Key
Part 1- SQL Coding
0.0/1.0 point (graded)
You have been asked to run some SQL scripts to help the Screwy team out. You want to find out the following things:
What was the total cost of Order_Number 20343?
Enter the correct answer below.

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

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions

Question

c. What were you expected to do when you grew up?

Answered: 1 week ago