[SPARK-30575][DOCS][FOLLOWUP] Fix typos in documents

### What changes were proposed in this pull request?
Fix a few super nit problems

### Why are the changes needed?
To make doc look better

### Does this PR introduce any user-facing change?
Yes

### How was this patch tested?
Tested using jykyll build --serve

Closes #27332 from huaxingao/spark-30575-followup.

Authored-by: Huaxin Gao <huaxing@us.ibm.com>
Signed-off-by: Takeshi Yamamuro <yamamuro@apache.org>
This commit is contained in:
Huaxin Gao 2020-01-23 17:51:16 +09:00 committed by Takeshi Yamamuro
parent f35f352096
commit d0bf447421
3 changed files with 5 additions and 5 deletions

View file

@ -44,7 +44,7 @@ GROUP BY [ GROUPING SETS grouping_sets ] group_expression [ , group_expression [
set is specified by a list of comma-separated expressions in parentheses.<br><br>
<b>Syntax:</b>
<code>
(() | (expression [ , ...]))
( () | ( expression [ , ... ] ) )
</code>
</dd>
<dt><code><em>grouping_expression</em></code></dt>

View file

@ -20,7 +20,7 @@ license: |
---
The <code>HAVING</code> clause is used to filter the results produced by
<code>GROUP BY</code> based on the specified condition. It is often used
in the conjunction with a [GROUP BY](sql-ref-syntax-qry-select-groupby.html)
in conjunction with a [GROUP BY](sql-ref-syntax-qry-select-groupby.html)
clause.
### Syntax
@ -49,7 +49,7 @@ HAVING boolean_expression
### Examples
{% highlight sql %}
CREATE TABLE dealer (id INT, city STRING, car_model STRING, quantity INT);
INSERT INTO dealer VALUES (100, 'Fremont', 'Honda Civic', 10),
INSERT INTO dealer VALUES (100, 'Fremont', 'Honda Civic', 10),
(100, 'Fremont', 'Honda Accord', 15),
(100, 'Fremont', 'Honda CRV', 7),
(200, 'Dublin', 'Honda Civic', 20),

View file

@ -19,7 +19,7 @@ license: |
limitations under the License.
---
The <code>WHERE</code> clause is used to limit the results of the <code>FROM</code>
clause of query or subquery based on the specified condition.
clause of a query or a subquery based on the specified condition.
### Syntax
{% highlight sql %}
@ -62,7 +62,7 @@ SELECT * FROM person WHERE id = 200 OR id = 300 ORDER BY id;
|300|Mike|80 |
+---+----+----+
-- ISNULL expression in `WHERE` clause.
-- IS NULL expression in `WHERE` clause.
SELECT * FROM person WHERE id > 300 OR age IS NULL ORDER BY id;
+---+----+----+
|id |name|age |