KnowledgeBoat Logo
|

Computer Science

In another class having 2 sections, the two respective class representatives have prepared 2 separate Sports Preferences tables, as shown below:

Sports preference of section 1 (arranged on roll number column)

Table: Sports Preferences

Roll_noSports
9Cricket
13Football
17Badminton
21Hockey
24Cricket

Sports preference of section 2 (arranged on Sports name column, and column order is also different)

Table: Sports Preferences

SportsRoll_no
Badminton17
Cricket9
Cricket24
Football13
Hockey21

Are the states of both the relations equivalent? Justify.

Relational Database

1 Like

Answer

Yes, the states of both the relations are equivalent as the order of rows and columns does not matter and data is just the same in both the relations.

Answered By

2 Likes


Related Questions