diff --git a/content/blog/2024-sql-notebooks-with-quarto/index.md b/content/blog/2024-sql-notebooks-with-quarto/index.md index 7e062fe..1c486cb 100644 --- a/content/blog/2024-sql-notebooks-with-quarto/index.md +++ b/content/blog/2024-sql-notebooks-with-quarto/index.md @@ -127,7 +127,7 @@ Let's also hide the code chunk itself and only show the output with the `echo` o ```{sql} #| label: get-tables-in-superheroes-db #| echo: false -#| connection: con_flights +#| connection: con_superheroes SHOW TABLES; ``` @@ -135,15 +135,20 @@ SHOW TABLES; And the output looks like this: -| name | -|:---------| -| airlines | -| airports | -| flights | -| planes | -| weather | +| name | +|:---------------| +| alignment | +| attribute | +| colour | +| gender | +| hero_attribute | +| hero_power | +| publisher | +| race | +| superhero | +| superpower | -5 records +Displaying records 1 - 10 ## Exploratory data analysis example diff --git a/content/blog/2024-sql-notebooks-with-quarto/index.qmd b/content/blog/2024-sql-notebooks-with-quarto/index.qmd index 8dbef56..ab92bc3 100644 --- a/content/blog/2024-sql-notebooks-with-quarto/index.qmd +++ b/content/blog/2024-sql-notebooks-with-quarto/index.qmd @@ -129,7 +129,7 @@ Let's also hide the code chunk itself and only show the output with the `echo` o ```{{sql}} #| label: get-tables-in-superheroes-db #| echo: false -#| connection: con_flights +#| connection: con_superheroes SHOW TABLES; ``` @@ -139,7 +139,7 @@ And the output looks like this: ```{sql} #| label: show-tables-in-superheroes-db #| echo: false -#| connection: con_flights +#| connection: con_superheroes SHOW TABLES; ```