Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

MYSQL

28/10/2020 Client: arwaabdullah Deadline: 2 Day

 


we will work with the Sailingdatabase. Download the sailingDB-JS.sql from and load it in MySQL.Submit your lab report as Word document.


1.Read the statements in sailingDB-JS.sql. For each type of statements, choose one example to explain what that statement does. Refer to the textbook or MySQL reference manual for information.


2. Describe briefly each relation in the Sailing database. Point out the entity relations and association relations and explain your rationale.


3. Queries A and B below demonstrate the impact of order when we use outer jointo connect three or more database tables. Execute each query, then compare the query results, and include in your lab report:


•A screenshot of the results for each query


•An explanation of where and why the results of the two queries differ


Query A: SELECT SA.sid, SA.sname AS Sailor_Name, CONCAT('S:',RA.sid,'-B:',RA.bid) AS Reserv_Track_id, BA.bid, BA.bname AS Boat_NameFROM reserves RA right outer join sailors SA on RA.sid=SA.sid right outer join boats BA on RA.bid=BA.bid;


Query B: SELECT SA.sid, SA.sname AS Sailor_Name, CONCAT('S:',RA.sid,'-B:',RA.bid) AS Reserv_Track_id, BA.bid, BA.bname AS Boat_NameFROM reserves RA right outer join boats BA on RA.bid=BA.bid right outer join sailors SA on RA.sid=SA.sid;


4.QueriesC, D, and E attempt to find the names of sailors who have reserved BOTH a red boat and a green boat. Execute each query, compare the results, and include in your lab report:


•The screenshot of results for each query


•A comparative analysis of the different results


•Explanation of why Query E does not work


Query C: SELECT S.snameFROM Sailors S, Reserves R1,Boats B1,ReservesR2,Boats B2WHERE S.sid=R1.sid AND R1.bid=B1.bidAND S.sid=R2.sid AND R2.bid=B2.bidAND B1.color='red' AND B2.color='green';


Query D:SELECT S.snameFROM Sailors S, Reserves R, Boats BWHERE S.sid=R.sid AND R.bid=B.bid AND B.color='red'AND S.sid IN ( SELECT S2.sidFROM Sailors S2, Boats B2, Reserves R2WHERE S2.sid=R2.sid AND R2.bid=B2.bidAND B2.color='green');


Query E:SELECT S.snameFROM Sailors S, Reserves R, Boats BWHERE S.sid=R.sid AND R.bid=B.bidAND (B.color='red'AND B.color='green');


Reference to database below:

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Top Essay Tutor
Quality Homework Helper
Top Grade Essay
Buy Coursework Help
University Coursework Help
Essay Writing Help
Writer Writer Name Offer Chat
Top Essay Tutor

ONLINE

Top Essay Tutor

I have more than 12 years of experience in managing online classes, exams, and quizzes on different websites like; Connect, McGraw-Hill, and Blackboard. I always provide a guarantee to my clients for their grades.

$135 Chat With Writer
Quality Homework Helper

ONLINE

Quality Homework Helper

Hi dear, I am ready to do your homework in a reasonable price.

$132 Chat With Writer
Top Grade Essay

ONLINE

Top Grade Essay

Working on this platform from a couple of time with exposure of dynamic writing skills gathered with years experience on different other websites.

$132 Chat With Writer
Buy Coursework Help

ONLINE

Buy Coursework Help

Hi dear, I am ready to do your homework in a reasonable price.

$132 Chat With Writer
University Coursework Help

ONLINE

University Coursework Help

Hi dear, I am ready to do your homework in a reasonable price.

$132 Chat With Writer
Essay Writing Help

ONLINE

Essay Writing Help

I am a qualified and experienced Writer, Researcher, Tutor, analyst and Consultant. I hold MBA (Strategic Management) (Finance and Marketing) & CPA.K (Accounting and Finance.)

$132 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Sinorama gold 8 deck plan - Need detail answer - Frito lay performance pay scale - Fremantle rebels softball club - Lesson 13: Percents Unit Test - English - St michael's church alnwick - +91/*///9928097710 lovE maRRiaGE specialist Astrologer in IndORE , lucknOw - Computer security lab manual - Positive 100 work response with three ref. due today at 10:00pm - Ted talk about addiction - Jack lukeys oyster saloon & caviar bar - Shaping and chaining reinforcement schedules and one trial learning - What does dwbi mean in texting - Data Visualization - Models for writers twelfth edition pdf - 600 words essay with Cloud Security Myths with three references? - States of matter diagram - Space maintenance in the primary and mixed dentitions - Mid semester break uq - Essay of history - 53 wyndham way eleebana - Pentaho advantages and disadvantages - Name the four most common gases in the atmosphere - AB4innovation_ppt_6-7 - Who were troubadours what was their music like - Journal Week 7 - Blockchain Security - Do a Marketing Plan including Customer and Product in my Clothing line - Mother tongue amy tan pdf - 4.1 1 statistical data exploration answers - A dream deferred poem - Reebok competitor rt 5.1 treadmill costco - EDMS Policies and Standards - Stained glass cookies australia - How to encode a matrix - How the earth was made hawaii worksheet answers - Rate of change questions and answers - Fathers and sons turgenev pdf - Patrician and plebeian conflict - Wolfson house kcl address - Nursing care plan for cerebral palsy - How to become a hero essay - Dell distribution and supply chain innovation - What is the molar mass of acetaminophen c8h9no2 - Shadow health focused exam chest pain - Thematic Reflective Essay Assignment 5 full pages - Henry hub erath louisiana - Foundation of Music - Raven sprayer control scs 330 - Executive summary for project report example - Human capital measurement ppt - Average number of televisions per household - Salvation army outlook login australia - Tim bicycle shop sells speed bicycles - Alexander Stephens on the Confederacy’s Corner-Stone - Tesla strategic alternatives - Eylf learning outcome 2 - Merlin home transmitter wireless setup - Mcdonalds human resource management - Never say never the fray - Harnek singh new zealand beaten - MGT301 motivation - The eighty yard run analysis - A machine that cuts corks for wine bottles - Apple temple university - Ice melting in water final temperature - 75 in lbs to nm - Maruti suzuki conflict case study - Simplest radical form with variables - Sally pepper radio derby - Westwood bath uni address - Lord of the flies theme poem - The raven himself is hoarse - Pantheon columns style - PowerPoint on Paplau's nursing theory interpersonal, therapeutic process that takes place when professionals, specifically educated to be nurses, engage in therapeutic relationships with people who are in need of health services. - Probability Sampling and Nonprobability Sampling - General aviation - Uob bank transaction code - Pairs Assignment - Leading edge fall protection definition - Edmond dantes v for vendetta - Scope of electrical engineering in germany - Levine theory - The ethical no free lunch rule states that - Waren sports supply balance sheet 2017 - Need assistance with part 2-4 - What are some characteristics of sumerian religion and society - Suicide silence the cleansing zip - Nightingale and the rose lesson plan - St george's student union - Synthesize the Literature on Ethical Organizations - Remainder in taylor series - Exotic words for power - Piney grove middle school - Describe robert millikan's oil drop experiment - Pwc management override of controls - Nike commodity chain - Data Mining - Examples of professional growth plans for speech-language pathologists - Volume of copper wire