上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: http://www.phpjabbers.com/php--mysql-select-data-and-split-on-pages-php25.htmlreturns 20 records sorted by name starting from the first record:$sql = "SELECT * FROM students ORDER BY name ASC LIMIT 0, 20";thisnext queryshows 20 records sorted again by name but this time it will start from 阅读全文
posted @ 2014-03-11 10:52 zmiao 阅读(208) 评论(0) 推荐(0) 编辑
摘要: publn_date is multi-valuedsetServer('localhost', 9312);$sc->setRankingMode(SPH_RANK_NONE);$sc->SetLimits(0,73180000,1000000);$sc->SetFilterRange("publn_date", strtotime('1992-04-01'), strtotime('1998-02-01'), $exclude=false);$sc->SetMatchMode(SPH_MATCH_E 阅读全文
posted @ 2014-03-08 05:30 zmiao 阅读(144) 评论(0) 推荐(0) 编辑
摘要: mysql> select t.appln_id, t.filing_date, t.appln_kind, t.people, GROUP_CONCAT(pu.publn_kind) from (select a.appln_id, a.filing_date, a.appln_kind, GROUP_CONCAT(p.pers_name) as people from appln as a left join pers_appln as pa on a.appln_id= pa.appln_id left join person as p on pa.pers_id= p.pers_ 阅读全文
posted @ 2014-03-06 09:04 zmiao 阅读(135) 评论(0) 推荐(0) 编辑
摘要: http://jingyan.baidu.com/article/7e440953fac5442fc1e2ef56.html简单点说电容屏就是你摸哪,哪就漏电,屏幕就有反应了。电阻屏就是你摸哪,哪就连电,屏幕就有反应了。 阅读全文
posted @ 2014-03-05 15:15 zmiao 阅读(197) 评论(0) 推荐(0) 编辑
摘要: http://sphinxsearch.com/forum/view.html?id=3187> I think I may have found a bug.Yep, it looks weird. The problem is probably that you have two attributes (MVA andtimestamp) with the same name.> $this->sphinx->SetFilterRange("starts", $startdateunix, $enddateunix);Yes, that' 阅读全文
posted @ 2014-03-05 08:48 zmiao 阅读(197) 评论(0) 推荐(0) 编辑
摘要: table 1:+----+---------+| id | content |+----+---------+| 1 | num1 || 2 | num2 || 3 | num3 || 4 | num4 || 5 | num5 |+----+---------+table 2:+----------+---------+-----------+| appln_id | pers_id | pers_name |+----------+---------+-----------+| 1 | 1 | Jack || ... 阅读全文
posted @ 2014-03-01 05:01 zmiao 阅读(273) 评论(0) 推荐(0) 编辑
摘要: http://www.codeproject.com/Articles/33052/Visual-Representation-of-SQL-Joins 阅读全文
posted @ 2014-03-01 03:58 zmiao 阅读(97) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/2526407/complex-query-with-sphinx比如要实现和如下sql代码相同的功能:SELECT * FROM table WHERE yescolumn = 'query' AND othercolumn not like '%keyword%'You can use Sphinx's extended query syntax to pick the fields you want to search. Try running a query through S 阅读全文
posted @ 2014-02-27 13:02 zmiao 阅读(116) 评论(0) 推荐(0) 编辑
摘要: hadoop是基于java的,framework已经搭好,任务的执行主要是三个阶段Map-> Shuffle-> Reduce自己要建新任务,只需要重写map和reduce方法即可。 阅读全文
posted @ 2014-02-22 10:47 zmiao 阅读(129) 评论(0) 推荐(0) 编辑
摘要: Indexing: include the date column in the sql_query of source.Also set the date as sql_attr_unitPHP: $cl->SetFilterRange ( $attribute, $min, $max, $exclude=false ) 阅读全文
posted @ 2014-02-22 04:46 zmiao 阅读(169) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 下一页