![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
sql
____Luke
这个作者很懒,什么都没留下…
展开
-
一个表中数据插入到另一个表中
1、表结构相同 跳过重复 INSERT ignore INTO scc_batchd(number,bid) SELECT number,2 from scc_batch2 2、表结构相同 不跳过重复 INSERT INTO scc_batchd(number,bid) SELECT number,2 from scc_batch2原创 2017-02-07 11:12:12 · 252 阅读 · 0 评论 -
mysql 多张表联合查询、一个字段 结构相同
select * from table1 union all select * from table2原创 2017-02-07 11:09:24 · 2619 阅读 · 0 评论 -
Golang + MYSQL + Bee 数据库连接和操作
// tsetMysql project main.go package main import ( "strings" "time" "github.com/astaxie/beego/orm" . "github.com/soekchl/myUtils" ) type Student struct { Id int64 `orm:"auto"` Nam原创 2017-03-01 10:11:55 · 1211 阅读 · 0 评论