The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Write a script to create the commands that will run the following queries/problem scenarios.
|
Column |
Type |
Length |
Decimal Places |
Nulls Allowed |
Description |
|
MARINA_NUM |
VARCHAR |
4 |
 |
No |
Primary Key |
|
SLIP_NUM |
VARCHAR |
4 |
 |
No |
Primary Key |
|
RENTAL_FEE |
DECIMAL |
8 |
2 |
 |
 |
|
BOAT_NAME |
VARCHAR |
50 |
 |
 |
 |
|
OWNER_NUM |
VARCHAR |
4 |
 |
 |
 |
Â
What to Hand In
Create a SQL script and upload it back to the Assignments link.
Â
CIT 214 - Homework 2- Alexamara Marina GroupUpdating Data and Altering Table StructureWrite a script to create the commands that will run the following queries/problem scenarios.1.Create the LARGE_SLIP table with the following structure:ColumnTypeLengthDecimalPlacesNullsAllowedDescriptionMARINA_NUMVARCHAR4NoPrimaryKeySLIP_NUMVARCHAR4NoPrimaryKeyRENTAL_FEEDECIMAL 82BOAT_NAMEVARCHAR50OWNER_NUMVARCHAR42.To set the combination Primary Key of Marina_Num and Slip_Num for this table, complete the following directionsbelow when you are writing the create table code:Do not declare the Primary Key with each column declaration. After you have declared the Owner_Num field, thenadd a comma , hit enter to get a new line and then type the following constraint information.
Attachments: