MarkFei,专注C#!我一直在努力

 

2010年4月20日

Using CKEditor as a plugin in your CodeIgniter applications

摘要: CKEditor is a powerfull WYSIWYG text editor licensed under the GPL, LGPL and MPL open source licenses. CKEditor can easilly be added to any web page, you will find below a simple way to integrate CKed... 阅读全文

posted @ 2010-04-20 21:40 MarkFei 阅读(838) 评论(0) 推荐(0)

2010年4月19日

GROUP BY and HAVING用法(摘)

摘要: SELECT AVG(ticket_key) , ticket_title FROM srweb_ticket_ticketGROUP BY ticket_title以上这句是按照投票的标题排序,体现在GROUP BY ticket_title,执行完上序之后得出如下的结果328 苹果328 葡萄327 西瓜如果加上having条件的话会出现如下的结果,having是出现在group by之后的条... 阅读全文

posted @ 2010-04-19 09:52 MarkFei 阅读(189) 评论(0) 推荐(0)

Sql中的HAVING用法。having 是对分组进行条件过滤,而where是对记录进行过滤

摘要: HAVING用户在使用SQL语言的过程中可能希望解决的一个问题就是对由sum或其它集合函数运算结果的输出进行限制。例如,我们可能只希望看到Store_Information数据表中销售总额超过1500美圆的商店的信息,这时我们就需要使用HAVING从句。语法格式为:SELECT "column_name1", SUM("column_name2") FROM "table_name" GROUP ... 阅读全文

posted @ 2010-04-19 09:02 MarkFei 阅读(814) 评论(0) 推荐(1)

导航