Back to Discovering SQL

Learn how to use SQL queries to get the same outcomes as an application.

Of course, it’s possible to implement the same expectations that we have seen in the previous lesson with a single SQL query without any application code being spent on solving the problem.

A single query vs. application code

The following query will do the same job as that done by the application code.

Press the “Run” button in the following widget to see the output of the code.

Get hands-on with 1200+ tech skills courses.