From 7a1b15fa477e39a11da2e302c9897df2b37793fc Mon Sep 17 00:00:00 2001 From: Defined2014 Date: Mon, 23 Aug 2021 11:48:02 +0800 Subject: [PATCH] docs: separate query statement and result in two text boxes. (#6204) (#6205) --- basic-sql-operations.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/basic-sql-operations.md b/basic-sql-operations.md index 8cdf0169ca39d..4ee0bf60b8a4c 100644 --- a/basic-sql-operations.md +++ b/basic-sql-operations.md @@ -236,11 +236,15 @@ To query a specific column, add the column name after the `SELECT` keyword: ```sql SELECT name FROM person; +``` + +```sql +------+ | name | +------+ | tom | +------+ +1 rows in set (0.00 sec) ``` Use the `WHERE` clause to filter all records that match the conditions and then return the result: