yeafee@夜飞郎

it's usually better to solve problems with simplicity and finesse rather than muscle.

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  33 随笔 :: 3 文章 :: 2 评论 :: 0 Trackbacks

数据库

     摘要: SQL:Count Distinct to_Date to_Char last_day add_months Sysdae Group by  阅读全文
posted @ 2007-12-17 14:00 @yeafee 阅读(613) | 评论 (0)  编辑

     摘要: CASE 是 SQL 用來做為 if-then-else 之類邏輯的關鍵字  阅读全文
posted @ 2007-12-17 11:12 @yeafee 阅读(159) | 评论 (0)  编辑

     摘要: 简单 CASE 函数:

CASE input_expression
WHEN when_expression THEN result_expression
[ ...n ]
[
ELSE else_result_expression
END

CASE 搜索函数:

CASE
WHEN Boolean_expression THEN result_expression
[ ...n ]
[
ELSE else_result_expression
END  阅读全文
posted @ 2007-07-11 11:24 @yeafee 阅读(410) | 评论 (0)  编辑

     摘要: 实例解析 几条常用的SQL操作  阅读全文
posted @ 2007-07-11 11:02 @yeafee 阅读(201) | 评论 (0)  编辑