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

2 traits that represent a non sustainable society - Convert hz to kva - Assume the salaries of elementary school teachers - 2 iodopropane sodium hydroxide - My papa's waltz mla citation - Southport magistrates court daily law list - A normal population has a mean of 75 - Need urgent - Eurographics symposium on geometry processing - Cstu 101 learning activity 2 - Transcription conventions discourse analysis - Business process risk assessment - Happy birthday dance song - I forgot my learnlink password - David peat net worth - Discussions - Commonwealth protective security manual - What is a printed name - Deep fissure crossword clue - Enthalpy of formation of solid ammonium chloride from the elements - Magdalen park tennis club - What is wacc and why is it important - Possible conflict management and negotiation techniques - Case application 2 shifting direction - Dodge embalming fluid catalog - Certificate iv in allied health assistance rmit - What is your vision, your values and your mission? Assignement solved completely Fundamentals of innovation entrepreneurship - Cross cultural contradictions arise due to - Module 2 Quiz - Yellow journalism assignment 5 answers - Caseware idea free download - Lse student union bar - What should be included in a conclusion of an experiment - Increase of accounts payable on cash flow - Define the term cliché penn foster - Auditing - Cleveland cables milton keynes - Gods with stainless ears - Fremantle rebels softball club - Paper - The language of baklava chapter summary - Activity analysis occupational therapy - Montage of a dream deferred pdf - Claritas my best segments zip code - Richard speck prison video uncut - Chapter 21 accounting for leases solutions - Delivery models in health care - Year 9 naplan spelling words - Haiyuan ningxia china dec 16 1920 - How does crowdsourcing influence marketing strategy - Prior service cost journal entry - Case 35 deluxe corporation solution - Writing - Doherty and clark sebas - Personality theory and research 12th edition - Financial statement analysis involves all of the following except - Animal cell organelles worksheet - Bus 625 Ashford univ - Questions for book homeless - Rockhampton clay target club - Who wrote the poem the rose that grew from concrete - Fourth generation language definition - How to write a payroll program in python - Acap student code of conduct - Should cell phone use be allowed in school - Juvenile - 2016 physics exam solutions - Introduction - What is form 10f india - Altruism in society campaign and presentation - Business week conducted a survey of graduates from 30 - Fibre metal laminate properties - Choir director job description - How College Pupils Can Hire a College Essay Writer - Motifs in julius caesar - A candy bar manufacturer is interested in trying - First 25 perfect squares - What number is halfway between 0.1 and 0.13 - Halite gas storage preesall - 170 ft lbs to nm - Facebook privacy there is no privacy case study - Insert nose radius chart - Rank in order from largest to smallest the momenta - Solahart booster not working - What mechanisms produce high precipitation at temperate latitudes - Glue/paper mix 6-5 crossword clue - Montague and capulet fight newspaper article - Paragraph starters for analytical essays - Wolfgang borchert the man outside pdf - Linux mv overwrite without asking - Purpose of a bed stick - New belgium brewing case study - 12.012 divided by 5.6 - MNC Strategy Paper - What does trini salgado mean in spanish - Year 11 legal studies practice exam - Transition metal colours list - Dc series motor example problems - Script bar and bistro - Unit 4 IP PC