Q67
MCQ2 marks, −0.5Consider the relation account (customer, balance) where the customer is a primary key and there are no null values. We would like to rank customers according to decreasing balance. The customer with the largest balance gets rank Ties are not broke but ranks are skipped: if exactly two customers have the largest balance they each get rank and rank is not assigned. select A.customer, count(B.customer) from account A, account B where A.balance <=B.balance group by A.customer select A.customer, 1+count(B.customer) from account A, account B where A.balance < B.balance group by A.customer Consider these statements about Query and Query Which two of the above statements are correct? and and and and
Sign in to save attempts.
Loading…