首页 > 代码库 > MySQL Keynote
MySQL Keynote
【MySQL Keynote】
1、Keywords may be entered in any lettercase. The following queries are equivalent:
2、Here is another query. It demonstrates that you can use mysql as a simple calculator:
3、所有查询以;结尾。
4、显示数据库。 SHOW DATABASES
does not show databases that you have no privileges
5、If the test
database exists, try to access it:
6、创建数据库。
nder Unix, database names are case sensitive (unlike SQL keywords), so you must always refer to your database as menagerie
, not asMenagerie
, MENAGERIE
, or some other variant.
7、显示tables
8、查看表定义.
9、使用insert插入数据
10、更新数据
参考:https://dev.mysql.com/doc/refman/5.7/en/entering-queries.html
MySQL Keynote
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。