摘要: 高级查询:1.连接查询 #适用于有外键关系的 没有任何关系没法用select * from Info,Nation #同时查询这俩表并把两表每个数据相互组合,形成笛卡尔积 select * from Info,Nation where Info.nation=Nation.code select I 阅读全文
posted @ 2016-10-17 15:24 飘逸De精灵 阅读(277) 评论(0) 推荐(0)
摘要: mysql修改表名,列名,列类型,添加表列,删除表列 alter table test rename test1; --修改表名 alter table test add column name varchar(10); --添加表列 alter table test drop column nam 阅读全文
posted @ 2016-10-17 08:53 飘逸De精灵 阅读(64894) 评论(0) 推荐(4)