02 2016 档案

摘要:举例:首次登录F页面,首页是A,下次登录后进来就是F页面而不会是A页面 具体思路:先onload保存当前地址,然后存入cookie,下次登录后读取缓存的地址直接跳转到F页面 阅读全文
posted @ 2016-02-24 17:13 adminasliulin 阅读(457) 评论(0) 推荐(0)
摘要:--distinct(去除重复数据)select distinct Time from HightTable--Between select * from HightTable where ID BETWEEN 1 and 2 --orselect * from HightTable where I 阅读全文
posted @ 2016-02-24 16:28 adminasliulin 阅读(248) 评论(0) 推荐(0)
摘要:请用一句sql写出将id为1234放到表的第一列,其他紧随其后并以正序排列的查询语句。 答案: select * from table where ID=2union all select * from table where ID <>2 order by id desc 阅读全文
posted @ 2016-02-23 10:53 adminasliulin 阅读(1020) 评论(0) 推荐(0)
摘要:http://www.runoob.com/mongodb/mongodb-databases-documents-collections.html 阅读全文
posted @ 2016-02-22 11:02 adminasliulin 阅读(128) 评论(0) 推荐(0)