diff --git a/quick-start-with-htap.md b/quick-start-with-htap.md index abd0f6f2ea961..85dbf834f50d0 100644 --- a/quick-start-with-htap.md +++ b/quick-start-with-htap.md @@ -108,6 +108,7 @@ To know the performance of TiDB with only the row-based storage engine, execute {{< copyable "sql" >}} ```sql +USE test; SELECT l_orderkey, SUM( @@ -173,7 +174,8 @@ For tables with TiFlash replicas, the TiDB optimizer automatically determines wh {{< copyable "sql" >}} ```sql -explain analyze SELECT +USE test; +EXPLAIN ANALYZE SELECT l_orderkey, SUM( l_extendedprice * (1 - l_discount)