FINRA Interview Question

Some sql, I don't remember it now..