mirror of
https://github.com/MariaDB/server.git
synced 2025-11-18 07:48:43 +03:00
Merge rurik.mysql.com:/home/igor/dev/mysql-5.0-0
into rurik.mysql.com:/home/igor/dev/mysql-5.1-0
This commit is contained in:
@@ -2553,3 +2553,12 @@ a b
|
||||
3 3
|
||||
drop view v2, v1;
|
||||
drop table t1;
|
||||
CREATE TABLE t1 (a int);
|
||||
INSERT INTO t1 VALUES (1), (2);
|
||||
CREATE VIEW v1 AS SELECT SQRT(a) my_sqrt FROM t1;
|
||||
SELECT my_sqrt FROM v1 ORDER BY my_sqrt;
|
||||
my_sqrt
|
||||
1
|
||||
1.4142135623731
|
||||
DROP VIEW v1;
|
||||
DROP TABLE t1;
|
||||
|
||||
Reference in New Issue
Block a user