MySQL dual虚拟表 作者:马育民 • 2022-01-15 15:54 • 阅读:10020 说明类似 oracle数据库,dual 是虚拟表 是为了满足 select 语句,后面要有 from 表名 如下: select now() from dual SELECT 1+1 from dual 其实在 MySQL 数据库中, 像上面的 SQL 语句,可以没有 from dual,即:下面写法也是可执行的: select now() SELECT 1+1 原文出处:http://malaoshi.top/show_1IX2b66DfdHA.html