Skip to content

Commit

Permalink
Explanation of semicolon (Issue #266) (#338)
Browse files Browse the repository at this point in the history
* Update 01-sql-basic-queries.md (Issue #266)

#266 
Improved the basic introduction to SQL code at the beginning of the "## Writing my first query" section.
-Explained semicolon in a callout box.
-Moved explanation regarding line breaks from bottom of page to the callout box earlier in the page.

* Revise note about semicolons.

* Typo

---------

Co-authored-by: James Foster <[email protected]>
  • Loading branch information
ShenmengXu and jd-foster authored Mar 1, 2023
1 parent 5058c81 commit e224ad9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions _episodes/01-sql-basic-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,10 @@ The computer is basically doing this:
3. Displaying requested columns or expressions.
Clauses are written in a fixed order: `SELECT`, `FROM`, `WHERE`, then `ORDER
BY`. It is possible to write a query as a single line, but for readability,
we recommend to put each clause on its own line.
BY`.
> It is possible to write a query as a single line, but for readability, we recommend to put each clause on its own line.
> The standard way to separate each SQL statement is with a semicolon. This allows more than one SQL statement to be executed together.
> ## Challenge
>
Expand Down

0 comments on commit e224ad9

Please sign in to comment.