Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, this question is for Oracle SQL. Task#7: write the sql statement for the following: a) Create a table named Foods which has the following

Hello, this question is for Oracle SQL.

image text in transcribed

Task#7: write the sql statement for the following: a) Create a table named Foods which has the following columns: menu item as numeric of size 2 supplier_id as character type of 3, product_code as character type of 2, description varchar2(20), price price increase as numeric with scale and precision of 4, 2 as numeric with sca le and precilon o as numeric with scale and precision of 4, 2, b) Rename the product code to product id c) Add a check constraint to price column ensuring that price of all the items are less then $10.00 d) Add a unique constraint to description column

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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