V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
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 · Aug 27, 2018 · 3607 views
    This topic created in 2814 days ago, the information mentioned may be changed or developed.
    写了几个查询语句如下:

    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 ...}
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3350 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 12:45 · PVG 20:45 · LAX 05:45 · JFK 08:45
    ♥ Do have faith in what you're doing.