Auto commit

This commit is contained in:
smallkun 2025-02-28 11:46:50 +08:00
parent de4844ecad
commit c05eef2b12

View File

@ -322,5 +322,23 @@ UPDATE test1 t1, (
)t2
SET t1.tname = t2.str
WHERE t1.tname = t2.tname;
#5
SELECT *
FROM tb_courses c
ORDER BY c.cid+0
LIMIT 4, 11;
#6
SELECT s.stuname, TIMESTAMPDIFF(YEAR,s.birthday,'2023-12-01')
FROM tb_students s
WHERE TIMESTAMPDIFF(YEAR,s.birthday,'2023-12-01') BETWEEN 30 AND 40;
#7
#8
```