end of day 3 week 1

This commit is contained in:
2026-01-22 06:16:02 +01:00
parent b1c74929ac
commit 5120f11339
9 changed files with 225 additions and 0 deletions

10
week 1/day3/exo3.sql Normal file
View File

@@ -0,0 +1,10 @@
-- exo 3
SELECT username,
CASE
WHEN length(username) <= 20
AND username ~ '^[A-Za-z]+$'
THEN 'Accepted'
ELSE 'Refused'
END AS status
FROM users;