2011年6月24日
摘要: 1) show databases;2) use db; 进入到数据库db3) select database(); --显示当前数据库4) select "consstr" as colname, t.* from tableName t;5) select a.id,a.valueA, case (b.valueB is NULL) when 1 then 'z' else b.valueB end from tableA as a left join tableB as b on(id);6)导入.sql脚本: 在命令行下:mysql -h *** - 阅读全文
posted @ 2011-06-24 15:21 桃源月色 阅读(1044) 评论(0) 推荐(0) 编辑