Skip to content

Commit 04c1f5d

Browse files
authored
Break long line for readability
Make it easier to read the rendered version.
1 parent 57f3557 commit 04c1f5d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

episodes/04-ordering-commenting.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ their effects as we went along. For complex queries, this is a good strategy, t
7373
When the queries become more complex, it can be useful to add comments to express to yourself, or to others, what you are doing with your query. Comments help explain the logic of a section and provide context for anyone reading the query. It's essentially a way of making notes within your SQL. In SQL, comments begin using <code class="language-plaintext highlighter-rouge">\--</code> and end at the end of the line. To mark a whole paragraph as a comment, you can enclose it with the characters /\* and \*/. For example, a commented version of the above query can be written as:
7474

7575
```
76-
/*In this section, even though JOINS (see link below this code block) are not introduced until Episode 6, we want to give an example how to
77-
join multiple tables becasue they represent a good example of using comments in SQL to explain more complex queries.*/
76+
/*In this section, even though JOINS (see link below this code block)
77+
are not introduced until Episode 6, we want to give an example how to
78+
join multiple tables becasue they represent a good example of using
79+
comments in SQL to explain more complex queries.*/
7880
7981
-- First we mention all the fields we want to display
8082
SELECT articles.Title, articles.First_Author, journals.Journal_Title, publishers.Publisher

0 commit comments

Comments
 (0)