Pulse8 interview question

Create a SQL query and create a console app.