Question: Write an SQL statement which create a new table that is called ORDERS with the following attributes: ORDER_ID, ORDER_DATETIME, CUSTOMER_ID, ORDER_STATUS. Write an SQL

Write an SQL statement which create a new table that is called "ORDERS" with the following attributes: 

Write an SQL statement which create a new table that is called "ORDERS" with the following attributes: ORDER_ID, ORDER_DATETIME, CUSTOMER_ID, ORDER_STATUS. Write an SQL statement that will add a primary key constraint called "pk orders", which adds the ORDER_ID column as the primary key for the newly created table.

Step by Step Solution

3.36 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

It seems that the images are ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!