2010-01-24中价
1.索引
索引是对数据库表中一列或多列的值进行排序的一种结构,使用索引可快速访问数据库表中的特定信息。
2.主键
主键只有一个,但可以有多个字段组成叫符合主键,但不能重复。
3.jquery获取第一个li
$(li:first-child)
4.javascript 对象
Array,Boolean,Math,Number,Date,String,Event,Functions,RegEXP
浏览器对象: Window,Navigator,Location,History,Screen
5.sql分页
例:取出2-3条记录
可先取出前三条记录,将其倒序,取出前二条。
select top 2 * from (select top 3 * from people ) a order by id desc 或者借助于排序函数row_number (over(order by ))