Greg Wilson commited on
Commit
809a7ea
·
1 Parent(s): aaef24a

fix: edits to SQL lessons

Browse files

Co-authored-by: Srihari Thyagarajan <57552973+Haleshot@users.noreply.github.com>

- Update sql/02_filter.py
- Update sql/03_aggregate_group.py
- Update sql/05_join.py
- Update sql/06_keys.py
- Update sql/06_keys.py
- Update sql/06_keys.py

sql/02_filter.py CHANGED
@@ -278,7 +278,7 @@ def _():
278
  mo.md(r"""
279
  ## Check Understanding
280
 
281
- ![concept map](/public/02_concepts.svg)
282
  """)
283
  return
284
 
 
278
  mo.md(r"""
279
  ## Check Understanding
280
 
281
+ ![concept map](./public/02_concepts.svg)
282
  """)
283
  return
284
 
sql/03_aggregate_group.py CHANGED
@@ -372,7 +372,7 @@ def _():
372
  mo.md(r"""
373
  ## Check Understanding
374
 
375
- ![concept map](/public/03_concepts.svg)
376
  """)
377
  return
378
 
 
372
  mo.md(r"""
373
  ## Check Understanding
374
 
375
+ ![concept map](./public/03_concepts.svg)
376
  """)
377
  return
378
 
sql/05_join.py CHANGED
@@ -273,7 +273,7 @@ def _():
273
  mo.md(r"""
274
  ## Check Understanding
275
 
276
- ![concept map](/public/05_concepts.svg)
277
  """)
278
  return
279
 
 
273
  mo.md(r"""
274
  ## Check Understanding
275
 
276
+ ![concept map](./public/05_concepts.svg)
277
  """)
278
  return
279
 
sql/06_keys.py CHANGED
@@ -38,7 +38,7 @@ def _():
38
 
39
  The previous tutorial explained how to combine information from two tables using `inner join` and `left join`. This tutorial will explain how we can tell when it makes sense to do this, and introduce our first complex database. To start, let's look at a diagram showing the four tables in the `survey` database.
40
 
41
- ![survey tables](/public/survey_tables.svg)
42
  """)
43
  return
44
 
@@ -281,7 +281,7 @@ def _():
281
 
282
  @app.cell
283
  def _():
284
- mo.image(src="survey_tables.svg", alt="table diagram of survey database")
285
  return
286
 
287
 
@@ -437,7 +437,7 @@ def _():
437
  mo.md(r"""
438
  ## Check Understanding
439
 
440
- ![concept map](/public/06_concepts.svg)
441
  """)
442
  return
443
 
 
38
 
39
  The previous tutorial explained how to combine information from two tables using `inner join` and `left join`. This tutorial will explain how we can tell when it makes sense to do this, and introduce our first complex database. To start, let's look at a diagram showing the four tables in the `survey` database.
40
 
41
+ ![survey tables](./public/survey_tables.svg)
42
  """)
43
  return
44
 
 
281
 
282
  @app.cell
283
  def _():
284
+ mo.image(src="./public/survey_tables.svg", alt="table diagram of survey database")
285
  return
286
 
287
 
 
437
  mo.md(r"""
438
  ## Check Understanding
439
 
440
+ ![concept map](./public/06_concepts.svg)
441
  """)
442
  return
443