DUAL
Understand the DUAL table. This dummy table allows selecting values without referencing a real table, often used for calculations or retrieving system variables.
Description
SELECT 1 + 1 FROM DUAL;
+-------+
| 1 + 1 |
+-------+
| 2 |
+-------+SELECT 1 FROM DUAL WHERE FALSE;
Empty set (0.00 sec)See Also
Last updated
Was this helpful?

