会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
free
2016年6月23日
表结构的修改
摘要: alter table user add nuique index(user_id,user_name); 给一个表创建联合索引 alter ignore table user add unique index(user_id,user_name); 如果表里有以前的数据,就会删除留下一条
阅读全文
posted @ 2016-06-23 10:57 sui008
阅读(129)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告