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: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 2 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
I need help with an assignment due today. The Assignment is:
The following assignment is based on the database environment designed in the Week Three Individual Assignment.
Your MySQL database project must meet the following assessment requirements:
Create a single sql script file that executes in MySQL containing a minimum of ten rows of test data inserted in each table, along with the sql statements needed to create tables with keys and to insert test rows, etc., into the tables.
Â
I am having problems getting my test data to work at all and do not think I am going about it the right way. This is MySql work so far --
CREATE TABLE art (
  art_id int,
  artist_id int,
  location_id int,
  employee_id varchar(25),
  art_received varchar(25),
  carat int,Â
  primary key (art_id)
foreign key (artisit_id) references artist(artist_id),
  foreign key (location_id) references location(location_id),
  foreign key (employee_id) references employee(employee_id)
Â
);Â
Â
CREATE TABLE employee (
  employee_userid int,
  employee_fname varchar(50),
  employee_lname varchar(50),
  employee_phone int,
 Â
  primary key (employee_id)
Â
 Â
);Â
Â
CREATE TABLE artist(
  art_id int,
  artist_fname varchar(50),
  artist_lame varchar(50),
artiwork_title varchar(75),
  Â
  primary key (art_id)
  Â
);Â
Â
CREATE TABLE location(
  location_id int,
  location_name varchar(50),
  start_date date,
end_date date,
  Â
  primary key (location_id)
  Â
);Â
Â
Â
I have also attached my Visio file too. Any help would be appreciated. Thank you.
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly