Apply best practices to your code
In this exercise you will update the code below to adhere to the best practices you learned in this chapter.
SELECT first_name, last_name, email FROM rental AS r
-- FROM address AS a JOIN r.address_id = a.address_id
JOIN customer AS c ON r.customer_id = c.customer_id;
This exercise is part of the course
Applying SQL to Real-World Problems
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
