MCG Health Interview Question

Rand function in sql windows functions