From cfd87001bb484c61d263b26a2aa247400d02fcb6 Mon Sep 17 00:00:00 2001 From: liufofu <14158286@qq.com> Date: Fri, 14 Nov 2025 18:00:55 +0800 Subject: [PATCH] Update dashboard.md fix:Some words are misspelled ---> flip -> fips --- docs/en/tutorials/databend-cloud/dashboard.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/tutorials/databend-cloud/dashboard.md b/docs/en/tutorials/databend-cloud/dashboard.md index 25616ed4c1..f29491bb5b 100644 --- a/docs/en/tutorials/databend-cloud/dashboard.md +++ b/docs/en/tutorials/databend-cloud/dashboard.md @@ -49,7 +49,7 @@ Before the analytics work, it is recommended to check for NULL and duplicate val ```sql SELECT COUNT(*) FROM covid_19_us_2022_3812 -WHERE date IS NULL OR country IS NULL OR state IS NULL OR flip IS NULL OR cases IS NULL OR deaths IS NULL; +WHERE date IS NULL OR country IS NULL OR state IS NULL OR fips IS NULL OR cases IS NULL OR deaths IS NULL; ``` This SQL statement returns `41571`, indicating the number of rows that contain at least one NULL value. @@ -58,7 +58,7 @@ This SQL statement returns `41571`, indicating the number of rows that contain a ```sql DELETE FROM covid_19_us_2022_3812 -WHERE date IS NULL OR country IS NULL OR state IS NULL OR flip IS NULL OR cases IS NULL OR deaths IS NULL; +WHERE date IS NULL OR country IS NULL OR state IS NULL OR fips IS NULL OR cases IS NULL OR deaths IS NULL; ``` @@ -71,9 +71,9 @@ WHERE date IS NULL OR country IS NULL OR state IS NULL OR flip IS NULL OR cases 1. In the same worksheet, check for duplicate values in the table with the following SQL statement: ```sql -SELECT date, country, state, flip, cases, deaths, COUNT(*) +SELECT date, country, state, fips, cases, deaths, COUNT(*) FROM covid_19_us_2022_3812 -GROUP BY date, country, state, flip, cases, deaths +GROUP BY date, country, state, fips, cases, deaths HAVING COUNT(*) > 1; ```