Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

DDL SQL Question 10. (DDL) Solve following four questions (15 points). A. Create the vendor table based on the following specification? COLUMN NAME Data TYPE

DDL SQL Question image text in transcribed

10. (DDL) Solve following four questions (15 points). A. Create the vendor table based on the following specification? COLUMN NAME Data TYPE Lenth CONSTRAINT TYPE IS NULLABLE Vendorld VendorName number7,0 Varchar2 PRIMARY KEY NO YES 25 NULL B. Vendor Table, add AccountNumber column of varchar2 (50) data type. vendor Table, Change vendorname column to allow forlonger vendor names varchar2 (150 Create a sequence that can be used with the primary key column of the vendor table. The sequence should start at 20 and have a maximum value of 6000. have your sequence increment by 1, name the sequence VENDORID SEQ c. D. E. Using VENDORID_SEQ, Insert one record into the Vendor table. F. Drop the vendor table and VENDORID_SEQ sequence

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle PL/SQL Programming Database Management Systems

Authors: Steven Feuerstein

1st Edition

978-1565921429

More Books

Students also viewed these Databases questions

Question

=+Trainers from headquarters? Local trainers? Independent trainers?

Answered: 1 week ago