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

In 12 hours - Sample assessment and treatment plan - Case Study 2 - Continental airlines case study data warehouse - Onion cell under microscope 400x labeled - P 1 2mv 2 - Advantages and disadvantages of honey and mumford learning styles - Artillery skills proficiency test - The equilibrium constant kc is 9.8 x 10 5 - Biovail corporation case study answers - Mg/l to ppm water - Rosemount 3051cd level transmitter - Culture - Peripheral vascular disease case study - Difference between normal and inferior goods in economics - Assignment help - Vocabulary - Term sheet negotiations for trendsetter inc answers - Calculate inrush current of motor - Evidence-base Practice - Community Health Discussion 4 - International seminary plymouth florida - How to calculate efn - Rotary to reciprocating motion mechanism - Heating iron and sulfur - Flying high 2 book - Editing challenge 2 business communication - Research paper - Is a rusty nail metallic or nonmetallic - READING NOTEBOOK - Leadership and teamwork in the public services - Project management case study wbs - Assignment - Nursing Research Dics# 6 - Bbc prison study summary - Time and distance overcome - They say i say essay format - Problem of the month calculating palindromes answers - C11 Lesson 2 Exam SCORE 95 PERCENT - Something wicked this way comes poem - How does multitasking confuse the resource availability of project team personnel? - Words that describe matter - Homework Question - Central bayside community health services parkdale - Rfs bushfire prone land - Demographic factors affecting automobile industry - Front row clothing rental - A red red rose literary devices - Hist289y - Community Nursing DQ 1 Student repply Vivian Guillen - 8 shipwright place oyster bay - Union corrugating metal roofing - Why are time zone boundaries not straight - Can p waves travel through liquids - X culture readiness test answers - Serial number lookup bicycles - Daybreak poem by dh lawrence summary - Data flow diagram for hostel management system - Separation of the components of a mixture lab report answers - What does the name christian mean - The thesis statement should be a declarative statement - COPD case study - Www1 udel edu biology ketcham microscope scope html - Author's purpose pie activity - 8 2 in simplest form - Overhead applied to production formula - Institut za uporedno pravo - Anu law library opening hours - Soc 110 teamwork collaboration and conflict resolution - Bluebeam stamp with editable text - How do machines work - Bartlett believed that the memorizer organizes material into meaningful wholes that he called - Terminal digit filing example - Week 3 decoding tasks assessment - Volkswagen goals and objectives - Imagonline - Boston public schools managerial tier c - Rikki tikki tavi questions - The obligation to endure ethos pathos logos - Free camping wagait beach - Invensys climate controls plymouth - ZPD Paper - 1a yellambie st yowie bay - Ritz carlton target market - Bupa level 2 717 bourke street docklands - Bus 107 route map - Chapter 8 interpreting histograms data analysis practice - Answer the question for Binary / Decimal / Hexadecimal conversions - BMGT 365 Individual Deliverable - 500 wrd essay - How to write email to unsuccessful candidates - Traditional customer service tended to be - Metrolina comprehensive health center - Thomson reuters investor presentation - Layers of the earth model - Accurate psychic readings by gary l wimmer - Master budget managerial accounting - The primitive rule of the templars pdf - Csi wildlife analyzing genetic evidence answer key - 5 paragraph essay on anne frank