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

Ethical Issue in Social Science M2D1 - Manova spss example - Examples of good plaafp statements - Gravimetric analysis simulation - Qualitative Methodologies discussion - Rights - Bus seat belt laws nsw - Wet cooling tower diagram - Nursing - Health of a community - Big mack switch activities - City of casey office - Question Posted below - Impact of components of social system on population - The american promise 5th edition notes - 1300 words double spaced - Https www hudp260 com pages resources hudtraining_mm3_portal aspx - Leo acu edu au - Corresponding angles examples with answer - An aptitude for a job implies a - The mcgraw hill reader issues across the disciplines 12th edition - Lynsi martinez in and out - The responsible administrator terry cooper pdf - This is our story shrek lyrics - Essay on loneliness and isolation - Kindler and collins piano - 2 short paras 150 each - Visual spatial skills occupational therapy - Capstone Research Companion - Grace before meals fr leo patalinghug - Which event seriously threatened lord baltimore's authority in maryland - Hangman game in c++ using array - Physical development in early adulthood powerpoint - Average width of a hair - The trees philip larkin - What is an smo - Five oceans on world map - Clipsal 56 series timer - Atomic structure chemistry quiz - X culture readiness test answers - Nearly _____ percent of total costs occur after the purchase of hardware and software. - Sociology 300 assignment - Final Project Paper - H r diagram lab answers - Wk 10 ethics discussion with student response - Zappos ceo salary - Hospitality institute of australia - Wish fulfillment dream examples - Case study - NURS521REPLYPROMPT2 - Life is beautiful story summary - Higher ability selection test - Describe procedures to conduct board and shareholder meetings course hero - Criminology books for css pdf - Security+ guide to network security fundamentals 6th edition pdf free - The pearl chapter 1 - Discussion - Castagna genesis syrah 2009 - 95.1 smooth fm melbourne - BU204 Assignment 6 - Sex without love poem analysis - Formal Languages and Automata Theory - Spy voice recorder jaycar - Discussion board 250 words - Reflection Paper- Information Systems - Job dialogue - Sheet metal design guide - Bli bli soccer club - Assignments - Firewood business for sale - Mosfet amplifier frequency response - Critical control points for a specific food production system - Academic integrity module monash - Harvard global supply chain management simulation - The glass menagerie test questions - A&p worksheets - Two products of light reactions used in calvin cycle - Art labeling activity tactile receptors in the skin - Characteristics of good demand forecasting ppt - Project management simulation scope resources schedule v2 - Maple press san jose - How to connect turntable to virtual dj - Quiz - Week1 - LITERARY ANALYSIS PAPER - Frye oppression summary - Riddells creek dog obedience - How to prove something is a parallelogram - Unit 3 Writing Assignment 1 & 2 - Navy federal membership application - Growing up tethered essay - Report - Darkness at noon sparknotes - Does so2 have polar bonds - Csd 212 syracuse - Dylan fatone death farmingdale ny - Numbers pyramid owl pellet lab - Admin leadership discussion 2 - Beyond complete dominance worksheet answers - Unit 6 Journal