Nielsen Interview Question

questions on sql using rand functions.