A table 'student' with schema (roll, name, hostel, marks), and another table 'hobby' with schema (roll, hobbyname) contains records as shown below:
Roll1798215423692581264327112872292629593125NameManoj RathorSoumic BanerjeeGumma ReddyPradeep pendseSuhas KulkarniNitin KadamKiran VoraManoj KunkalikarHemant KarkhanisRajesh DoshiHostel7576585575Marks95688692787292948882Table: studentRoll1798179821542369258126432643271128722926295931253125Hobby NamechessmusicmusicswimmingcricketchesshockeyvolleyballfootballcricketphotographymusicchessTable: hobby
The following SQL query is executed on the above tables:
select hostel
from student natural join hobby
where marks >= 75 and roll between 2000 and 3000;
Relations S and H with the same schema as those of these two tables respectively contain the same information as tuples. A new relation S’ is obtained by the following relational algebra operation:
S’=Πhostel((σs.roll=H.roll(σmarks>75 and roll>2000 and roll<3000(S))×(H))
The difference between the number of rows output by the SQL statement and the number of tuples in S’ is