From 88de49ca26b15ca1fc15b27882fa0c91422d6175 Mon Sep 17 00:00:00 2001 From: daviddoji Date: Mon, 13 Apr 2026 16:42:31 +0200 Subject: [PATCH] automated commit by check50 [check50=True] --- 3.sql | 2 +- 4.sql | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/3.sql b/3.sql index 15d8880..ccc0230 100644 --- a/3.sql +++ b/3.sql @@ -1,3 +1,3 @@ -- write a SQL query to count how many prints by Hokusai include “Fuji” in the English title. -- Though all of Hokusai’s prints focused on Mt. Fuji, in how many did “Fuji” make it into the title? -SELECT COUNT(*) FROM "views" WHERE "english_title" LIKE "%Fuji%"; +SELECT COUNT(*) FROM "views" WHERE "artist" = "Hokusai" AND "english_title" LIKE "%Fuji%"; diff --git a/4.sql b/4.sql index e69de29..7116d98 100644 --- a/4.sql +++ b/4.sql @@ -0,0 +1,3 @@ +-- write a SQL query to count how many prints by Hiroshige have English titles that refer to the “Eastern Capital”. +-- Hiroshige’s prints were created in Japan’s “Edo period,” referencing the eastern capital city of Edo, now Tokyo. +SELECT COUNT(*) FROM "views" WHERE "artist" = "Hiroshige" AND "english_title" LIKE "%Eastern%Capital%";