PostgreSQL - Joins in PostgreSQL
Examine this query:
What is the likely cause of an error?
SELECT c.name, o.amount FROM customers c JOIN LATERAL (SELECT amount FROM orders WHERE customer_id = c.id) o ON true;
What is the likely cause of an error?
