MySQL :: MySQL 5.0 Reference Manual :: 13.2.8 SELECT Syntax
SELECT can also be used to retrieve rows computed without reference to any table. For example: mysql> SELECT 1 + 1;-> 2 You are permitted to specify DUAL as a dummy table name in situations where no tables are referenced: mysql> SELECT ......