show character set;show create database aloe;show create table book_category;show full columns from book_category;ALTER DATABASE `aloe` DEFAULT CHARAC...
分类:
数据库 时间:
2015-05-31 23:00:49
阅读次数:
194
coalesce(字段,默认值)select coalesce(title,'liu') from a
分类:
数据库 时间:
2015-05-31 21:35:53
阅读次数:
112
转自:http://bbs.ednchina.com/BLOG_ARTICLE_3018248.HTM?click_from=8800024401,6106445608,2014-11-10,EDNCOL,NEWSLETTER1. 要和人配合以我们做硬件的工程师为例,测试的时候一般都需要软件的配合,...
分类:
其他好文 时间:
2015-05-31 21:33:42
阅读次数:
117
SELECT EMP_ID, CAST(EMP_ID AS UNSIGNED) FROM EMPLOYEE_TBL;+-----------+--------------------------+| EMP_ID | CAST(EMP_ID AS UNSIGNED) |+-----------...
分类:
其他好文 时间:
2015-05-31 20:08:36
阅读次数:
152
表记录的基本操作查看selectselect字段名列表from数据库名.表名;select字段名列表from数据库名.表名where条件表达式;*字段名1,字段名2,字段名N条件的表示方式:使用where引导,适用于更新、删除、查询等场合,符合条件的记录才被操作1.数值比较等于:=不等于:!=大于、大于..
分类:
其他好文 时间:
2015-05-31 18:43:36
阅读次数:
123
今天在写Java项目使用了<selectid="getPlans"parameterType="hashMap"resultType="hashMap">
SELECT
*
FROM
`plan`
WHERE
isDelete=#{isDelete}ANDnestIdin
<foreachcollection="nestIds"item="nestId"index="index"
open="("close=")"separator=",">
#{nestId}
&l..
分类:
数据库 时间:
2015-05-31 18:39:48
阅读次数:
190
概述该篇主要介绍一些常用的sql优化技巧sql优化1.select * from table_name where;建议将*改为需要的列。这对速度不会有明显的影响,主要考虑节省内存。2.like语句一般情况下不鼓励使用like操作,如果非使用不可,如何使用也是一个问题。like “%aaa%” 不会使用索引而like “aaa%”可以使用索引。3.不要在列上进行运算,无法运用索引select * f...
分类:
数据库 时间:
2015-05-31 18:33:03
阅读次数:
212
wiki上关于G.711的介绍以及A-law和mu-law原理解释
http://en.wikipedia.org/wiki/G.711
自带的中文不能打开,google不知道为啥翻译不了,用了个bing将就着看吧
http://www.microsofttranslator.com/bv.aspx?from=&to=zh-CHS&a=http%3A%2F%2Fen.wikipedia....
分类:
其他好文 时间:
2015-05-31 18:30:24
阅读次数:
80
FROM:实验楼http://python.usyiyi.cn/python_278/tutorial/index.htmlhttp://woodpecker.org.cn/abyteofpython_cn/chinese/Python-pep8 官方代码风格指导Google-python 代码风格...
分类:
编程语言 时间:
2015-05-31 18:23:36
阅读次数:
149
Word Search II问题:Given a 2D board and a list of words from the dictionary, find all words in the board.Each word must be constructed from letters of s...
分类:
其他好文 时间:
2015-05-31 18:18:22
阅读次数:
117