Fix some misquoting

This commit is contained in:
Ian Gulliver
2019-04-24 06:02:16 +00:00
parent 07ce0eee92
commit f10c68a567
4 changed files with 6 additions and 6 deletions

View File

@@ -18,7 +18,7 @@
FROM Logins FROM Logins
GROUP BY UserId GROUP BY UserId
) AS Temp USING (UserId) ) AS Temp USING (UserId)
WHERE LastLogin <= 31; WHERE LastLogin <= 31;
</code></pre> </code></pre>
<p>We can convert this to a simple JOIN with the magic of HAVING. HAVING is like WHERE, but applies after aggregation:</p> <p>We can convert this to a simple JOIN with the magic of HAVING. HAVING is like WHERE, but applies after aggregation:</p>
@@ -29,7 +29,7 @@
FROM Users FROM Users
JOIN Logins USING (UserId) JOIN Logins USING (UserId)
GROUP BY UserId GROUP BY UserId
HAVING LastLogin &amp;lt;= 31; HAVING LastLogin &lt;= 31;
</code></pre> </code></pre>
<!--# include file="include/bottom.html" --> <!--# include file="include/bottom.html" -->

View File

@@ -26,7 +26,7 @@ chmod 700 {client,server}/private
<h3>Create openssl.cnf</h3> <h3>Create openssl.cnf</h3>
<pre><code>cat &gt; openssl.cnf &amp;lt;&amp;lt;'END' <pre><code>cat &gt; openssl.cnf &lt;&lt;'END'
openssl_conf = openssl_init openssl_conf = openssl_init
[ openssl_init ] [ openssl_init ]
engines = engines engines = engines

View File

@@ -18,7 +18,7 @@ You have a table of Users and a table of Logins, with a row for each user login
FROM Logins FROM Logins
GROUP BY UserId GROUP BY UserId
) AS Temp USING (UserId) ) AS Temp USING (UserId)
WHERE LastLogin &lt;= 31; WHERE LastLogin <= 31;
We can convert this to a simple JOIN with the magic of HAVING. HAVING is like WHERE, but applies after aggregation: We can convert this to a simple JOIN with the magic of HAVING. HAVING is like WHERE, but applies after aggregation:
@@ -28,6 +28,6 @@ We can convert this to a simple JOIN with the magic of HAVING. HAVING is like WH
FROM Users FROM Users
JOIN Logins USING (UserId) JOIN Logins USING (UserId)
GROUP BY UserId GROUP BY UserId
HAVING LastLogin &lt;= 31; HAVING LastLogin <= 31;
<!--# include file="include/bottom.html" --> <!--# include file="include/bottom.html" -->

View File

@@ -25,7 +25,7 @@ XXXX is still our placeholder of choice.
### Create openssl.cnf ### Create openssl.cnf
cat > openssl.cnf &lt;&lt;'END' cat > openssl.cnf <<'END'
openssl_conf = openssl_init openssl_conf = openssl_init
[ openssl_init ] [ openssl_init ]
engines = engines engines = engines