文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>mysql中的dual表

mysql中的dual表

时间:2009-07-28  来源:cenalulu

Table - `dual`:a dummy table in mysql

mysql文档中对于dual表的解释:

You are allowed to specify DUAL as a dummy table name in situations where no tables are referenced:
mysql> SELECT 1 + 1 FROM DUAL;
-> 2

DUAL is purely for the convenience of people who require that all SELECT statements should have FROM and possibly other clauses. MySQL may ignore the clauses. MySQL does not require FROM DUAL if no tables are referenced.

相关阅读 更多 +
排行榜 更多 +
掌上皇御

掌上皇御

金融理财 下载
双鱼部落

双鱼部落

聊天通讯 下载
血压本

血压本

生活实用 下载