From cded6648a51156e1449244124739b1d1de5e8f8c Mon Sep 17 00:00:00 2001 From: daviddoji Date: Mon, 13 Apr 2026 13:10:22 +0000 Subject: [PATCH] automated commit by check50 [check50=True] --- 8.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/8.sql b/8.sql index e69de29..3858dd0 100644 --- a/8.sql +++ b/8.sql @@ -0,0 +1,3 @@ +-- write a query that counts the number of episodes released in the last 6 years, from 2018 to 2023, inclusive. +-- You might find it helpful to know you can use BETWEEN with dates, such as BETWEEN '2000-01-01' AND '2000-12-31'. +SELECT COUNT("title") FROM "episodes" WHERE "air_date" BETWEEN "2018-01-01" AND "2023-12-31";