• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 3 pages
Other

Wgu C170 Important Sql Codes

Document preview thumbnail
Preview 1 out of 3 pages

WGU C170 IMPORTANT SQL CODES CREATE TABLE Customer ( Customer_ID INT NOT NULL AUTO_INCREMENT, First_Name VARCHAR(25) NOT NULL, Last_Name VARCHAR(25) NOT NULL, Street_Address VARCHAR(25) NOT NULL, Apt VARCHAR(12), City VARCHAR(25) NOT NULL, State VARCHAR(2) NOT NULL, Zip_Code VARCHAR(5) NOT NULL, Home_Phone VARCHAR(12), Mobile_Phone VARCHAR(12), Other_Phone VARCHAR(12), PRIMARY KEY(Customer_ID) ); CREATE TABLE Donut ( Donut_ID INT UNSIGNED NOT NULL UNIQUE, Donut_Name VARCHAR(255), Donut_Description VARCHAR(255), Unit_Price DECIMAL(5,2), PRIMARY KEY (Donut_ID) ); CREATE TABLE Orders ( Order_ID INT UNSIGNED NOT NULL, Customer_ID INT NOT NULL, Order_Date DATETIME NOT NULL, Special_Notes VARCHAR(255), PRIMARY KEY (Order_ID) ); ALTER TABLE Orders ADD INDEX checks (Customer_ID), ADD CONSTRAINT checks FOREIGN KEY (Customer_ID) REFERENCES Customer (Customer_ID); CREATE TABLE OrderAssignment ( Order_ID INT UNSIGNED NOT NULL, Donut_ID INT UNSIGNED NOT NULL, Quanity INT ); ALTER TABLE OrderAssignment ADD INDEX CheckOrder (Order_ID), ADD CONSTRAINT CheckOrder FOREIGN KEY (Order_I


Document information

Uploaded on
October 15, 2022
Number of pages
3
Written in
2022/2023
Type
Other
Person
Unknown
$8.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
lectdenis
3.7
(301)
Sold
2094
Followers
1592
Items
6935
Last sold
2 weeks ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.