Question

Question 2 (60 points): You need the Sales OrdersExample database to complete this project. To install the database, first, d


Table: vendors www. Columns: VendorID int PK VendName varchar(25) VendStreetAddress varchar(50) VendCity varchar(30). VendSta
ES Table: employees yees Columns: EmployeeID է - ի EmpFirstName varchar(25) EmpLastName varchar(25) EmpStreetAddress varchar(
Table: customers Columns: CustomerID int PK CustFirstName varchar(25) CustLastName varchar(25) CustStreetAddress varchar(50)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1) SELECT CustFirstName,CustLastName,CustCity from Customers

2) SELECT EmployeeID,EmpFirstName,EmpLastName and EmpPhoneNumber from Employees where empZipCode Like '98413'

3) Product table and product vendor table is not given so couldnt do this...

Add a comment
Know the answer?
Add Answer to:
Question 2 (60 points): You need the Sales OrdersExample database to complete this project. To install...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Give the SQL statement that will find the vendor that provides that most products. Output the...

    Give the SQL statement that will find the vendor that provides that most products. Output the Vendor Name and the count of products. categories CategorylD INT(11) ◇ CategoryDescription VARCHAR( 75) Custom erID INT(11) CustFirstName VARCHAR(25) ◇CustLastName VARCHAR(25) ◇ CusstreetAddress VARCHAR(50) ◇ CustCity VARCHAR(30) ◇ Cusstate VARCHAR(2) order_details OrderNumber INT(11) ProductNum ber INT (11) QuotedPrice DECIMAL(15,2) QuantityOrdered SMALLINT(6) OrderNumber INT(11) ◇ OrderDate DATE ShipDate DATEK CustomerID INT(11) EmployeeID INT(11) CustzipCode VARCHAR( 10) custrea Code SMALLINT(6) ◇ CustphoneN umber VARCHAR(8) ProductNum ber...

  • I need the SQL code to accomplish the following: Provide a list of orders that were...

    I need the SQL code to accomplish the following: Provide a list of orders that were created in January 2013.   Be sure to show the order number, date, employee name who took the order, and customer name who created the order. For all of the orders for 17” monitors in 2013, provide a list that shows the order number, date, and the quantity. here is the database CREATE DATABASE OrderEntryBMIS325 GO USE OrderEntryBMIS325 GO CREATE TABLE Customer ( CustNo CHAR(8),...

  • Please provide SQL command to provide the product names that customer number C0954327 ordered in January...

    Please provide SQL command to provide the product names that customer number C0954327 ordered in January 2013 here is the database: CREATE DATABASE OrderEntryBMIS325 GO USE OrderEntryBMIS325 GO CREATE TABLE Customer ( CustNo CHAR(8), CustFirstName VARCHAR(20) CONSTRAINT CustFirstNameRequired NOT NULL, CustLastName VARCHAR(30) CONSTRAINT CustLastNameRequired NOT NULL, CustStreet VARCHAR(50), CustCity VARCHAR(30), CustState CHAR(2), CustZip CHAR(10), CustBal Decimal(12,2) DEFAULT 0, CONSTRAINT PKCustomer PRIMARY KEY (CustNo) ) INSERT INTO Customer (CustNo, CustFirstName, CustLastName, CustStreet, CustCity, CustState, CustZip, CustBal) VALUES ( 'C0954327','Sheri','Gordon','336 Hill St.','Littleton','CO','80129-5543',$230.00...

  • Create SQL statements based on the given tables: Code to create the tables: CREATE DATABASE LAB...

    Create SQL statements based on the given tables: Code to create the tables: CREATE DATABASE LAB4DB; USE LAB4DB; CREATE TABLE CUSTOMER ( CUS_CODE int primary key, CUS_LNAME varchar(15), CUS_FNAME varchar(15), CUS_INITIAL varchar(1), CUS_AREACODE varchar(3), CUS_PHONE varchar(8), CUS_BALANCE float(8) ); INSERT INTO CUSTOMER VALUES('10010','Ramas','Alfred','A','615','844-2573','0'); INSERT INTO CUSTOMER VALUES('10011','Dunne','Leona','K','713','894-1238','0'); INSERT INTO CUSTOMER VALUES('10012','Smith','Kathy','W','615','894-2285','345.86'); INSERT INTO CUSTOMER VALUES('10013','Olowski','Paul','F','615','894-2180','536.75'); INSERT INTO CUSTOMER VALUES('10014','Orlando','Myron','','615','222-1672','0'); INSERT INTO CUSTOMER VALUES('10015','O''Brian','Amy','B','713','442-3381','0'); INSERT INTO CUSTOMER VALUES('10016','Brown','James','G','615','297-1228','221.19'); INSERT INTO CUSTOMER VALUES('10017','Williams','George','','615','290-2556','768.93'); INSERT INTO CUSTOMER VALUES('10018','Farriss','Anne','G','713','382-7185','216.55'); INSERT INTO CUSTOMER VALUES('10019','Smith','Olette','K','615','297-3809','0'); /*...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT