Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume all tables have been created except for customerorder . Create the table customerorder . The data type for customerID and productID is VARCHAR (

Assume all tables have been created except for customerorder. Create the
table customerorder. The data type for customerID and productID is
VARCHAR(5).
Ensure you choose appropriate data types for the other columns, and you
specify the primary key and any foreign keys. [6 marks]
(f) Delete records in the customerorder that dates up to the end of December
2009.[2 marks]
(g) Create a view containing the productID, its name and stock. [3 marks]
(h) Give user john permission to access (read only) the view created in part (g).
You may assume that user john has already been created.

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

Students also viewed these Databases questions

Question

( ) ( ) ? () . () ? .

Answered: 1 week ago