Discuss Various types of Inner Join Operations Database Management Systems 10CS54 VTU notes 8 Marks Jun July2014 5 marks Dec 14Jan 1510 Marks Jan 2016

The Eduladder is a community of students, teachers, and programmers just interested to make you pass any exams. So we solve previous year question papers for you.
In eduladder you can Ask,Answer,Listen,Earn and Download Questions and Question papers.
Watch related videos of your favorite subject.
Connect with students from different parts of the world.
Apply or Post Jobs, Courses ,Internships and Volunteering opportunity. For FREE
See Our team
Wondering how we keep quality?
Got unsolved questions? Ask Questions

ADVANCED-DBMS-10CS751-->View question


Asked On2018-09-05 16:37:26 by:anonymousguy7799

Taged users:


Likes:
Be first to like this question

Dislikes:
Be first to dislike this question
Talk about this  Delete  Like  Dislike
View all qusetions

You might like this video:Network and IP Address
Watch more here

Watch more videos from this user Here

Eduladder videos are community generated video contents which we deliver to you according to the content you are browsing.We are constantly working on video delivering algorithms in order to give you the best experiance as possible

Learn how to upload a video and start earning here

Answers
inner join The cartesian product example above combined each employee with each department. If we only keep those lines where the dept attribute for the employee is equal to the dnr (the department number) of the department, we get a nice list of the employees, and the department.
 • A very common and useful operation.
 • Equivalent to a cartesian product followed by a select. 
• Inside a relational DBMS, it is usually much more efficient to calculate a join directly, instead of calculating a cartesian product and then throwing away most of the lines. 
• Note that the same SQL query can be translated to several different relational algebra expressions, which all give the same result. VTUlive.com 25
 • If we assume that these relational algebra expressions are executed, inside a relational DBMS which uses relational algebra operations as its lower-level internal operations, different relational algebra expressions can take very different time (and memory) to execute
. Consider the following schema Sailor(Sal-id,Sal-name,rating,age) Reserves(Sal-id,Boat-id,day) Boats(Boat_id,boatname,color) I. Find the names of sailors ,who have reserved all boats,called Interlake? Select Sal-name from Sailor s, Reserves r,Boats b where r.sal-id==s.sal-id and r.boat-id==b.boat-id and boat-name=”Interlake”; II. Find the Sid of the sailor with age over 20 who haven’t reserved the boat. 
 Select sid from sailor s where NOT EXISTS(select S.Sal-id FROM Sailor S ,Reserves r ,Boats b where r.bid=b.boat-id) and age>20; III Find the names of sailors,who have reserved atleast Two Boats Select S.sal-name from sailors S,Reserves r,boats b where r.salid=s.sal-id and b.boat-id=r.boat-id having count(*)>=2 

Answerd on:2018-09-06 Answerd By:Nikhil-bharadwaj

Likes:
Be first to like this answer

Dislikes:
Be first to dislike this answer
Talk about this  Delete  Like  Dislike

You might like this video:Color Grading-Adobe
Watch more here

Watch more videos from this user Here

Eduladder videos are community generated video contents which we deliver to you according to the content you are browsing.We are constantly working on video delivering algorithms in order to give you the best experiance as possible

Learn how to upload a video and start earning here

inner join The cartesian product example above combined each employee with each department. If we only keep those lines where the dept attribute for the employee is equal to the dnr (the department number) of the department, we get a nice list of the employees, and the department.
 • A very common and useful operation.
 • Equivalent to a cartesian product followed by a select. 
• Inside a relational DBMS, it is usually much more efficient to calculate a join directly, instead of calculating a cartesian product and then throwing away most of the lines. 
• Note that the same SQL query can be translated to several different relational algebra expressions, which all give the same result. VTUlive.com 25
 • If we assume that these relational algebra expressions are executed, inside a relational DBMS which uses relational algebra operations as its lower-level internal operations, different relational algebra expressions can take very different time (and memory) to execute
. Consider the following schema Sailor(Sal-id,Sal-name,rating,age) Reserves(Sal-id,Boat-id,day) Boats(Boat_id,boatname,color) I. Find the names of sailors ,who have reserved all boats,called Interlake? Select Sal-name from Sailor s, Reserves r,Boats b where r.sal-id==s.sal-id and r.boat-id==b.boat-id and boat-name=”Interlake”; II. Find the Sid of the sailor with age over 20 who haven’t reserved the boat. 
 Select sid from sailor s where NOT EXISTS(select S.Sal-id FROM Sailor S ,Reserves r ,Boats b where r.bid=b.boat-id) and age>20; III Find the names of sailors,who have reserved atleast Two Boats Select S.sal-name from sailors S,Reserves r,boats b where r.salid=s.sal-id and b.boat-id=r.boat-id having count(*)>=2 

Answerd on:2018-09-06 Answerd By:Nikhil-bharadwaj

Likes:
Be first to like this answer

Dislikes:
Be first to dislike this answer
Talk about this  Delete  Like  Dislike

You might like this video:Color Grading-Adobe
Watch more here

Watch more videos from this user Here

Eduladder videos are community generated video contents which we deliver to you according to the content you are browsing.We are constantly working on video delivering algorithms in order to give you the best experiance as possible

Learn how to upload a video and start earning here



Lets together make the web is a better place

We made eduladder by keeping the ideology of building a supermarket of all the educational material available under one roof. We are doing it with the help of individual contributors like you, interns and employees. So the resources you are looking for can be easily available and accessible also with the freedom of remix reuse and reshare our content under the terms of creative commons license with attribution required close.

You can also contribute to our vision of "Helping student to pass any exams" with these.
Answer a question: You can answer the questions not yet answered in eduladder.How to answer a question
Career: Work or do your internship with us.Work with us
Create a video: You can teach anything and everything each video should be less than five minutes should cover the idea less than five min.How to upload a video on eduladder