mirror of
https://github.com/MariaDB/server.git
synced 2025-11-12 10:22:39 +03:00
Merge rurik.mysql.com:/home/igor/mysql-4.1
into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
This commit is contained in:
@@ -684,3 +684,12 @@ max(a)
|
||||
2
|
||||
deallocate prepare stmt1;
|
||||
drop table t1;
|
||||
CREATE TABLE t1 (a int primary key);
|
||||
INSERT INTO t1 VALUES (1),(2),(3),(4);
|
||||
SELECT MAX(a) FROM t1 WHERE a > 5;
|
||||
MAX(a)
|
||||
NULL
|
||||
SELECT MIN(a) FROM t1 WHERE a < 0;
|
||||
MIN(a)
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
|
||||
Reference in New Issue
Block a user