Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8087593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:49:36+00:00 2026-06-05T18:49:36+00:00

Hi all I have an exam coming up and am not getting much help

  • 0

Hi all I have an exam coming up and am not getting much help from the lecturer on two questions on the practice exam. She has provided the answer but has not responded to my questions about the answer, I’m hoping someone here would be able to explain why the answer is the way it is.

Consider the following two tables R and S with their instances:

R       S 
A B C  D E 
a x y  x y 
a z w  z w 
b x k    
b m j    
c x y    
f g h  

a) πA(R[natural join]B=D S)

the answer being (a,b,c), why isn’t it (a,a,b,c)? does a projection make it distinct?


b) π A(R[natural join] B<>D S) 

the answer being (a,b,c,f), why is a an answer? b=d both times when values are x and z, so why is this being printed out?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T18:49:38+00:00Added an answer on June 5, 2026 at 6:49 pm

    [natural join] B=D

    This is not a natural join because “natural join” is a join that joins relations exclusively over attributes of the same name. The construct you describe might in some places be labeled/termed an “equijoin” or so, but it is certainly noy a “natural join”.

    [natural join] B<>D

    This is not a natural join because “natural join” is a join that joins together tuples of the argument relations if and only if the attribute values are equal.

    You are being hopelessly mistaught and miseducated. Reference material : “an introduction to database systems”, C.J.Date. It won’t do you any good for your exams, but if you seek a later career in database technology it might be worthwhile to remember this.

    But to answer your actual questions (in line with preceding answers) :

    a) The attribute value ‘a’ cannot appear twice in the result of a projection, because a projection produces a relation, and a relation is defined to be a set, and sets cannot contain duplicates.

    b) The [non-] natural join contains both the tuples (axyzw) and (azwxy). “First” tuple from R with “second” tuple from S, and other way round. The projection includes the result (a).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two Models, one that has the name Exam and one that has
I have some practice exam questions and answers which are as follows: However, I
I have a form[method=get] which has a number of checkboxes all have the same
I have an exam on C++ coming up, and I'm solving a few ones
I have three files: Main, slist.h and slist.cpp can be seen at http://forums.devarticles.com/c-c-help-52/confused-why-i-am-getting-c2143-and-c1010-error-259574.html I'm
I'm preparing to the SQL Server exam (70-431). I have the book from Sybex
I have an exam coming up where we have to study heaps and stacks.
I have a university programming exam coming up, and one section is on unicode.
Hey all yesterday i have given my GATE exam and in this exam there
I have two arrays: array testAnswer holds answers to a exam and array inputAnswers

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.