update: add more example for sqlite3 cli in docs

This commit is contained in:
Wataru Otsubo 2024-09-14 18:05:48 +09:00
parent c5c57acb4b
commit 367ccf75fc
2 changed files with 98 additions and 3 deletions

View file

@ -0,0 +1,18 @@
WITH
single AS (
SELECT
qaqc_single_run_results.psboard_id,
qaqc_single_run_results.runid
FROM
qaqc_single_run_results
UNION
SELECT
qaqc_extra_run_results.psboard_id,
qaqc_extra_run_results.runid
FROM
qaqc_extra_run_results
)
SELECT *
FROM single
WHERE single.runid BETWEEN 90 AND 93
ORDER BY runid, psboard_id