摘要: 1.常用的三种 内连接:select select_list from A inner join B on A.key=B.key 左外连接: select select_list from A left join B on A.key=B.key 右外连接: select select_list 阅读全文
posted @ 2020-03-21 20:54 classBug 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 1.sql语句 select distinct <select_list> from left_table <join_type> join right_table on <join_condition> where <where_condition> group by <group_by_list 阅读全文
posted @ 2020-03-21 20:36 classBug 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1.查看现在使用的mysql提供了哪些供使用的存储引擎(可以看出默认使用的存储引擎) 2.查看当前默认使用的存储引擎 show variables: 表示查询数据库的配置变量的值。 show status:表示查询数据库运行时的状态变量。 3.InnoDB和MyISAM比较 对比项 MyISAM I 阅读全文
posted @ 2020-03-21 15:54 classBug 阅读(133) 评论(0) 推荐(0) 编辑