V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
MySQL 5.5 Community Server
MySQL 5.6 Community Server
Percona Configuration Wizard
XtraBackup 搭建主从复制
Great Sites on MySQL
Percona
MySQL Performance Blog
Severalnines
推荐管理工具
Sequel Pro
phpMyAdmin
推荐书目
MySQL Cookbook
MySQL 相关项目
MariaDB
Drizzle
参考文档
http://mysql-python.sourceforge.net/MySQLdb.html
hanadumal
V2EX  ›  MySQL

MySQL 表名语法问题{ }

  •  
  •   hanadumal · 2018-08-27 12:50:22 +08:00 · 2694 次点击
    这是一个创建于 2059 天前的主题,其中的信息可能已经有所发展或是发生改变。
    写了几个查询语句如下:

    select * from authority.auth; 正常
    select * from {authority.auth}; 正常

    use authority;
    select * from auth; 正常
    select * from {auth}; 错误

    所以,{ } curly brace 大括号到底是什么操作?表名用大括号包起来怎么理解?

    https://dev.mysql.com/doc/refman/5.6/en/join.html 表名语法也没找到。应该不是{ OJ ...}
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1337 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 17:32 · PVG 01:32 · LAX 10:32 · JFK 13:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.