Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Returning tables and sets
Summary

Instruction

Hi again! In this part there's no Introduction section – we'll continue our journey from the previous part.

Using functions, you can also return tables; you are not limited to returning just a single value or parameters.

Let's first see an example:

SELECT *
FROM get_active_users();

Exercise

Run the template query. Observe that the function returns multiple rows.