Walmart Labs Interview Question | Lottery Ticket
You have data of people who have applied for a lottery ticket. The data consists of their ticket number. You have to choose winners by selecting the people present in rows divided by 3 or 7, but not both.
Write a query to make things easy to select the winners.