Skip to content

Commit e224ad9

Browse files
Explanation of semicolon (Issue #266) (#338)
* 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]>
1 parent 5058c81 commit e224ad9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

_episodes/01-sql-basic-queries.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,10 @@ The computer is basically doing this:
250250
3. Displaying requested columns or expressions.
251251
252252
Clauses are written in a fixed order: `SELECT`, `FROM`, `WHERE`, then `ORDER
253-
BY`. It is possible to write a query as a single line, but for readability,
254-
we recommend to put each clause on its own line.
253+
BY`.
254+
255+
> It is possible to write a query as a single line, but for readability, we recommend to put each clause on its own line.
256+
> The standard way to separate each SQL statement is with a semicolon. This allows more than one SQL statement to be executed together.
255257
256258
> ## Challenge
257259
>

0 commit comments

Comments
 (0)