Follow the rules below when writing an SQL command.
;
at the end of each SQL command.SELECT
, FROM
, JOIN
,
WHERE
, GROUP BY
, ORDER BY
, PREDICT
, AS
, CREATE TABLE
,
INSERT INTO
, etc.SELECT
,
FROM
, JOIN
, WHERE
, GROUP BY
, ORDER BY
, PREDICT
, USING
, AND
,
OR
. It is to avoid the horizontal scrollbar.Follow the syntax below when documenting an SQL command and its output.
On execution, we get:
Where:
Name | Description |
---|---|
VARIABLE NAME GOES HERE | VARIABLE DESCRIPTION GOES HERE |
If the output is not a table, remove the output table from above and place your output message there.
On execution, we get:
Where:
Name | Description |
---|---|
column_name | column description |
On execution, we get:
Where:
Name | Description |
---|---|
column_name | column description |
On execution, we get:
On execution, we get: