Skip to content

Commit

Permalink
Fix typos in 10_lateral_joins.md
Browse files Browse the repository at this point in the history
add table alias and fix column name in first query
  • Loading branch information
ksilin authored Dec 19, 2024
1 parent 860b916 commit 9c436a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 10_lateral_joins.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ right-hand-subquery using the values from the current row in the left-hand table

```sql
WITH departments AS (
SELECT DISTINCT(p.departments) FROM `examples`.`marketplace`.`products`
SELECT DISTINCT(p.department) FROM `examples`.`marketplace`.`products` AS p
)
SELECT * FROM departments, LATERAL (
SELECT 1
Expand Down

0 comments on commit 9c436a0

Please sign in to comment.