Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

GENERAL REQUIREMENTS: Create a new database file in SQL. Take a screenshot of your command and its execution. QUESTION :1 (5 Marks) Create the following

image text in transcribed

GENERAL REQUIREMENTS: Create a new database file in SQL. Take a screenshot of your command and its execution. QUESTION :1 (5 Marks) Create the following table Vendor and implement the given validation rules. Vendor Id Vendor city state Postal code Name Vendor address bahrain 1 ali manama bah 345 N ahmed uae dubai uae 643 3 bader bahrain sallaq bah 232 4 bashar saudi manama bah 444 VALIDATION RULES Vendor id should be generated automatically State should be a three letter word Postal code: with 3 letters. City with 10 letters Postal code should not be zero Include the following additional fields 1. Date of birth 2. Salary: Put 2 decimal places 3. Age : Should be between 5 and 20

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

Recommended Textbook for

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

More Books

Students also viewed these Databases questions

Question

Explain the function and purpose of the Job Level Table.

Answered: 1 week ago