Skip to content

Commit

Permalink
Emphasize need to create the View before using it in queries
Browse files Browse the repository at this point in the history
  • Loading branch information
jessemortenson committed Sep 26, 2024
1 parent e864d25 commit 06feb7e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/data/query-scraper-output-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ data, usually as a list (`STRUCT(property_a VARCHAR, property_b VARCHAR)[]`). We

### Use views to drill into the data

To make this data structure simpler to reason about, we can use Views. Here's a set of recommended views you can try:
To make this data structure simpler to reason about, we can use Views. Here's a set of recommended views you can try.
Please note that these views are used in many of the suggested queries below. In order to execute a query that uses
a view, you need to create the view first!

```sql
-- Bills
Expand Down Expand Up @@ -133,7 +135,7 @@ To view Views in your DuckDB database: `SHOW TABLES;`

### Useful queries

These queries will assume you've created the views listed above.
These queries will assume you've created the Views listed above! Execute the Views queries above before trying these!

General utility: describe the shape of a given dataset:

Expand Down

0 comments on commit 06feb7e

Please sign in to comment.