Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MySQL Table Constraints Activity: Employees Directions: USE the database activities (type directly into shell) for the following exercise. Always remember to create your table at

image text in transcribed

MySQL Table Constraints Activity: Employees Directions: USE the database activities (type directly into shell) for the following exercise. Always remember to create your table at the beginning of the file and to drop that table at the end of the file to avoid attempting to create duplicate tables. 1. Creating employees table Create a file called 3.employees.sql Write the code to do the following in that file Create a table employees with the following column definitions id - number(automatically increments), mandatory, primary key last_name - text, mandatory first_name - text, mandatory middle_name - text, not mandatory age - number mandatory current_status - text, mandatory, defaults to 'employed' Show the column information for the table Drop the table

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

More Books

Students also viewed these Databases questions