Question: Question 3 Use the guest and booking relations below to illustrate the following kinds of joins on the GuestNo attribute: (a)Equijoin (b)Right Outer join (c)

Question 3 Use the guest and booking relations below to illustrate the following kinds of joins on the GuestNo attribute: (a)Equijoin (b)Right Outer join (c) Semi join In each case the guest relation should be on the left side of the operation. Table 1: Guest Relation with sample data GuestNo 1 Guest Name abc def ghi GuestAddress 1123 1245 3456 2 3 Table 2: Booking Relation with sample data hotelNo GuestNo Date- roomNo 1 4 2 Date- From 3-2006 1-2007 3-2007 3-2009 4-2010 10 20 30 40 45 5 To 7-2006 3-2007 8-2007 6-2010 5-2010 3 4 5 6 7 8 (d)Why are joins a potential flash point for performance problems in a RDBMS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
