R(A, B, C)
S(B,C)
S1: In SQL, the UNIQUE constraint ensures that all values in a column are different.
S2: In SQL, CHECK constraint ensures whether the value in columns fulfils the specified condition or not.
S1: DELETE command is used to delete a specific row from the table whereas the TRUNCATE command is used to remove all rows from the table.
S2: We can use the DELETE command with WHERE clause but cannot use the TRUNCATE command with it.
S1: In SQL, a table can have many foreign keys.
S1: In SQL, a table can have many primary keys.
(a)Select Name from people where Age > 31;
(b)Select Name from people where Height > 190;
(c)Select Name from people where (Age > 31) or (Height > 190);
If the SQL queries (a) and (b) above, return 20 rows and 17 rows in the result set respectively, then what is one possible number of rows returned by the SQL query (c) ?
(i) SELECT * FROM Student WHERE rollnum are between 20 and 30;
(ii) SELECT * FROM Student WHERE rollnum IN(20,30)


