Problem 3 (Extra credit: 5 pts) You are given a relation R with N columns of the same type. Write an SQL query that returns the tuples (perhaps more than one) having the minimum number of different values. The solution should have size polynomial in N and use aggregation in an essential way. Examples 1. Ri-(t1 : (a, a, b), (#2 : (b, a, c)). The result is t1- 2. R2-
OR
OR