Auto commit
This commit is contained in:
parent
de4844ecad
commit
c05eef2b12
@ -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
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user