Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Apr 2017 |
Last Sign in: | 9 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
Help please. I do not understand sql statements. if anyone can help me i will greatly appreciate it
Â
Homework 2Due Date: Sept. 17, 2016 at 11:59 PMConsider the scenario from homework 1, where we designed an E-R diagramas represented in the following Fgure for an art gallery in Greensboro.Task1 (70 points):Write SQL statements to create the corresponding relationsand capture as many of the constraints as possible.If cannot capture someconstraints, explain why. Make sure that the data type and size for eachattribute are appropriate.±or example, a numerical data type is a betterchoice than a string data type for the attributettlAmt.Task 2(30 points)::write SQL statements to load data into each relation.You are required tocome up withatleast 5 recordsfor each table.Please put your SQLstatements into an SQL script Fle and submit it to the assignment link.Make sure your SQL script fle can be run successFully in MySQLbeFore submitting it. IF it has any syntax error, your grade oF thisassignment will be a ZERO.OFavorsIDArtsTsfNamemNamelNamebirThPlacedaTeBorndaTeDiedCreaTesoCounTryarTSTyleArTworksIDtTlesizedescriptonpriceMNPaintngSculpTureSTaTueTypemaTerialmaTerialweighTsTyleMNCusTomersIDfNamemNamelNameaddresssTyleLike±lAmTMNDisplayExhibitonnameThemesTarTedDaTeendedDaTeMNmaTerialweighTsTyleyearheighTwide
Attachments:-----------