有记录则update,没有则insert 字段很简单d date unique,c int not null default 0要求如题,效率要高 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 看手册:INSERT [LOW_PRIORITY | HIGH_PRIORITY] [IGNORE] [INTO] tbl_name [(col_name,...)] SELECT ... [ ON DUPLICATE KEY UPDATE col_name=expr, ... ] 如果是这样d date,typo int not null default 0,c int not null default 0判断条件为d和type该怎么做呢 MySQL是否支持类似PL/SQL方式的查询 为什么greenplum在master上执行联合查询,数据出不来 Mysql 内存表与临时表的使用区别 mysql 多国文字处理问题 菜鸟请问mysql中间隔号的作用 MySql root 密码是否有时效? 请教高手一个MYSQL问题,急!! 多表联合查询 在Redhat6.3中装Ecshop检查不支持mysql MySQL5.5 汉字查询的问题,在线等待,高手请进! 请问:MySql的数据怎样导入到SqlServer中呢?
INSERT [LOW_PRIORITY | HIGH_PRIORITY] [IGNORE]
[INTO] tbl_name [(col_name,...)]
SELECT ...
[ ON DUPLICATE KEY UPDATE col_name=expr, ... ]
d date,
typo int not null default 0,
c int not null default 0
判断条件为d和type
该怎么做呢