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

3 idiots movie chetan bhagat - Volkswagen of america managing it priorities pdf - 1 metre in cm - Scheme of work example - Interesting facts about argentina - Discuss case 9.2 hsbc combats fraud in split second decisions - How to predict products of electrolysis - Mobile ordering project pos requirements document - 3721 duxford drive raleigh nc - Provide a 50-75 word discussion reply to the following post below. - Stepwise approach to asthma treatment and management - Which organelle transports materials within the cell - Search and Seizure - Strategic management assignment on coca cola - Kinetic and potential energy lab - What is 123 as a fraction - Kmart state of origin merchandise - Translation reflection rotation worksheet pdf - Speech on aids awareness - Management 13th edition schermerhorn pdf - Secret agent periodic table answers - Application form examples answers - Inténtalo textbook escribe el equivalente de las palabras en inglés - Abortion in italy a right wronged - Mt baw baw height - Alfred temple tom sawyer - Online courier management system project documentation - Arnold level 1 exercise program - Prodiscover basic download - The 5 ks ks2 - Actron air conditioner control panel - Royal greenwich teaching school alliance - What does solitary as an oyster mean - First ionisation energy of aluminium - HCS370 - Andy murray first serve percentage - Rich dad poor dad book review ppt - Lección 3 grammar quiz - Essays Guru - Definition of mississippian indians - Essay about self driving cars - What is the resolution of the maze runner - Information about fold mountains - Need a Rewrite on case Quality Control home wok - PSYC Discussion 1 - How to find dy dx by implicit differentiation - Advertising supported revenue model - Lundbeck korea managing an international growth engine - The vampire diaries lexi real name - Sophia's war a tale of the revolution - Super's conception of life stages and development tasks - Workplace safety plan worksheet hrm 420 - Biometrics powerpoint presentation - The credit plan at tidbit computer store - 2000 words rest - Spybot rootkit scan no admin in acl - Church bell ringer crossword - Caboolture west local plan map - Family therapy theories comparison chart - How to create gif file in photoshop cs6 - Answer The Questions In Two Paragraphs - Layout and flow in operations management - Westpac financial planning sale - Assignment - Cultural immersion- Buddhism interview - Vulnerability Process and Assessment Memorandum - Another brooklyn discussion questions - Thermochemistry the heat of reaction lab report answers - Egg drop newton's laws - Healthcare Administration Short Paper - Brampton civic hospital volunteer - Ethical Relativism - Single subject design social work - What is the management research question hierarchy - The 7 bridges of konigsberg answer - What landforms do convergent boundaries form - Solid aluminum hydroxide reacts with nitric acid - Cameolord pharmacy oxford road - Colby buzzell men in black - Content of investigator brochure - Is precipitation double displacement reaction - Whiling 360 free rotating reversible computer desk - Cb protection agent uninstall - Concepts in enterprise resource planning 3rd edition solutions - Phi 208 week 1 assignment - Patient Scenario Short Paper - I'm your teacher not your internet service provider - Components of international money market - Was charles darwin a freemason - How to calculate energy density of food - Csu global turnitin - So what's so bad about being so so summary - Junot diaz drown discussion questions - Measurement of electrical resistance and ohm's law lab report - Two paths diverged from the main road answers com - What are the main ideas in steinberg's article - A group of college students built a self guided rover - Programming Assignment - Cuando tenía gripe mi madre me tomar la temperatura - Nihon keizai university fukuoka