auto commit

This commit is contained in:
CyC2018
2018-07-09 23:41:41 +08:00
parent 717b510f8a
commit f82bb76d92
4 changed files with 5 additions and 9 deletions

View File

@ -351,7 +351,7 @@ do {
- 查询本身效率也可能会有所提升。例如下面的例子中,使用 IN() 代替连接查询,可以让 MySQL 按照 ID 顺序进行查询,这可能比随机的连接要更高效。
```sql
SELECT * FROM tag
SELECT * FROM tab
JOIN tag_post ON tag_post.tag_id=tag.id
JOIN post ON tag_post.post_id=post.id
WHERE tag.tag='mysql';