diff --git a/docs/cn/sql-reference/10-sql-commands/20-query-syntax/04-query-join.md b/docs/cn/sql-reference/10-sql-commands/20-query-syntax/04-query-join.md index d152356d6d..3a663ab2bf 100644 --- a/docs/cn/sql-reference/10-sql-commands/20-query-syntax/04-query-join.md +++ b/docs/cn/sql-reference/10-sql-commands/20-query-syntax/04-query-join.md @@ -43,21 +43,6 @@ CREATE OR REPLACE TABLE gift (gift VARCHAR); INSERT INTO gift VALUES ('Croissant'), ('Donut'), ('Coffee'), ('Soda'); --- 行情 & 交易样例 -CREATE OR REPLACE TABLE trades (symbol VARCHAR, time INT, price INT); -INSERT INTO trades VALUES - ('AAPL', 100003, 101), - ('AAPL', 100007, 103), - ('MSFT', 100002, 99), - ('TSLA', 100010, 200); - -CREATE OR REPLACE TABLE quotes (symbol VARCHAR, time INT, bid INT, ask INT); -INSERT INTO quotes VALUES - ('AAPL', 100000, 99, 102), - ('AAPL', 100005, 100, 104), - ('MSFT', 100001, 98, 101), - ('NVDA', 100006, 150, 155); - -- ASOF 示例的物联网数据 CREATE OR REPLACE TABLE sensor_readings ( room VARCHAR, @@ -117,29 +102,6 @@ gift +-----------+ ``` -时间序列示例使用如下行情快照: - -```text -trades -+--------+--------+-------+ -| symbol | time | price | -+--------+--------+-------+ -| AAPL | 100003 | 101 | -| AAPL | 100007 | 103 | -| MSFT | 100002 | 99 | -| TSLA | 100010 | 200 | -+--------+--------+-------+ - -quotes -+--------+--------+-----+-----+ -| symbol | time | bid | ask | -+--------+--------+-----+-----+ -| AAPL | 100000 | 99 | 102 | -| AAPL | 100005 | 100 | 104 | -| MSFT | 100001 | 98 | 101 | -| NVDA | 100006 | 150 | 155 | -+--------+--------+-----+-----+ - sensor_readings +-----------+---------------------+-------------+ | room | reading_time | temperature | diff --git a/docs/en/sql-reference/10-sql-commands/20-query-syntax/04-query-join.md b/docs/en/sql-reference/10-sql-commands/20-query-syntax/04-query-join.md index acb92e3811..b64133cabe 100644 --- a/docs/en/sql-reference/10-sql-commands/20-query-syntax/04-query-join.md +++ b/docs/en/sql-reference/10-sql-commands/20-query-syntax/04-query-join.md @@ -43,21 +43,6 @@ CREATE OR REPLACE TABLE gift (gift VARCHAR); INSERT INTO gift VALUES ('Croissant'), ('Donut'), ('Coffee'), ('Soda'); --- Time-series market data -CREATE OR REPLACE TABLE trades (symbol VARCHAR, time INT, price INT); -INSERT INTO trades VALUES - ('AAPL', 100003, 101), - ('AAPL', 100007, 103), - ('MSFT', 100002, 99), - ('TSLA', 100010, 200); - -CREATE OR REPLACE TABLE quotes (symbol VARCHAR, time INT, bid INT, ask INT); -INSERT INTO quotes VALUES - ('AAPL', 100000, 99, 102), - ('AAPL', 100005, 100, 104), - ('MSFT', 100001, 98, 101), - ('NVDA', 100006, 150, 155); - -- IoT-style readings for ASOF examples CREATE OR REPLACE TABLE sensor_readings ( room VARCHAR, @@ -117,29 +102,6 @@ gift +-----------+ ``` -Time-series examples use the following market data snapshots: - -```text -trades -+--------+--------+-------+ -| symbol | time | price | -+--------+--------+-------+ -| AAPL | 100003 | 101 | -| AAPL | 100007 | 103 | -| MSFT | 100002 | 99 | -| TSLA | 100010 | 200 | -+--------+--------+-------+ - -quotes -+--------+--------+-----+-----+ -| symbol | time | bid | ask | -+--------+--------+-----+-----+ -| AAPL | 100000 | 99 | 102 | -| AAPL | 100005 | 100 | 104 | -| MSFT | 100001 | 98 | 101 | -| NVDA | 100006 | 150 | 155 | -+--------+--------+-----+-----+ - sensor_readings +-----------+---------------------+-------------+ | room | reading_time | temperature |