1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

added FROM DUAL for derived tables

This commit is contained in:
bell@sanja.is.com.ua
2002-12-26 17:48:19 +02:00
parent 88e15cdbe8
commit d85a01db2c
3 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,6 @@
select * from (select 2 from DUAL) b;
2
2
SELECT 1 as a FROM (SELECT 1 UNION SELECT a) b;
Unknown column 'a' in 'field list'
SELECT 1 as a FROM (SELECT a UNION SELECT 1) b;