HyScaler interview question

Some complex SQL queries and regex patterns