Auto commit

This commit is contained in:
2025-02-27 18:44:58 +08:00
parent 5859485f29
commit 71ea2b0d21
+12 -3
View File
@@ -584,11 +584,20 @@ TIMESTAMPDIFF(YEAR,s.birth,NOW())-1, TIMESTAMPDIFF(YEAR,s.birth,NOW()))
FROM students s;
#42.
SELECT *
FROM students s
WHERE WEEKOFYEAR(s.birth) = WEEKOFYEAR(NOW());
#43.
SELECT *
FROM students s
WHERE WEEKOFYEAR(s.birth) = WEEKOFYEAR(NOW()) + 1;
#44.
SELECT *
FROM students s
WHERE MONTH(s.birth) = MONTH(NOW());
#45.
SELECT *
FROM students s
WHERE MONTH(s.birth) = MONTH(NOW()) + 1;
```