
数据库
akui1234
这个作者很懒,什么都没留下…
展开
-
MySql中关于表的复制总结
1 复制表结构及数据到一个新表:create table thenewtablename select * from theoldtablename;2 只复制表结构到新表:create table newtablename select * from oldtablename where 1==2; 或者 create ta...原创 2011-07-01 22:17:32 · 107 阅读 · 0 评论 -
just a note about mysql operation
from:http://www.cnblogs.com/cnkenny/archive/2009/04/22/1441297.html 一.MYSQL的命令行模式的设置:桌面->我的电脑->属性->环境变量->新建->PATH=“;path\mysql\bin;”其中path为MYSQL的安装路径。二.简单的介绍一下命令行进入MYSQL的方法:1.C:\...原创 2011-07-15 11:12:49 · 99 阅读 · 0 评论 -
You have an error in your SQL syntax; check the manual that corresponds to your
the below code runs error:"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?'" String sql="select * from l...原创 2011-07-25 14:04:33 · 227 阅读 · 0 评论 -
left join on
select * from A left join B,C on A.a1=B.b1 and B.b2=C.c1; 这样执行的话报错 select * from A left join B on A.a1=B.b1 left join C on B.b2=C.c1; 这样三个表连接可以。原创 2011-08-04 12:20:13 · 129 阅读 · 0 评论