<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    相信自己!

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
      26 隨筆 :: 3 文章 :: 13 評論 :: 0 Trackbacks

    2008年9月23日 #

         摘要: connect by prior  閱讀全文
    posted @ 2008-10-30 18:10 北極雪 閱讀(272) | 評論 (0)編輯 收藏

         摘要: javascript打開outlook  閱讀全文
    posted @ 2008-10-07 10:33 北極雪 閱讀(1039) | 評論 (3)編輯 收藏

     

    select /*t5.emp_name as sale_name,
           t9.emp_name as cs_name,
           t5.dept_name,
           t5.friend_id,
           t5.friend_name,
           t5.contract_number,
           t5.total_value,
           t5.so_id,
           t5.start_date,
           t5.end_date,
           t5.friend_phone*/
           count(*)
      from (select t1.cust_id as friend_Id,
                   t1.so_id,
                   t1.emp_id,
                   t2.emp_name,
                   tf.friend_name,
                   t3.dept_name,
                   tf.friend_phone,
                   t1.so_code as contract_number,
                   t1.so_amount as TOTAL_VALUE,
                   t1.so_delivery_date as START_DATE,
                   t1.so_PAYMENT_DATE as END_DATE
              from tc_sales_order_m t1,
                   tc_employee t2,
                   tc_department t3,
                   tc_friend tf
             where t1.owner_id = 1
               and t2.owner_id = 1
               and t3.owner_id = 1
               and tf.owner_id = 1
               and t1.emp_id = t2.emp_id
               and t2.dept_id = t3.dept_id
               and tf.friend_id=t1.cust_id
            and t1.cust_id in (select td.cust_id
                      from (select
                                   tm.cust_id,
                                   max(tm.so_payment_date) as end_date
                              from tc_sales_order_m tm
                             where tm.owner_id = 1
                             group by tm.cust_id) td
                     where td.end_date < add_months(sysdate, -3))
               and t3.biz_dept_id = '110'
               and t3.DEPT_CODE not like '0112%'
               and t3.DEPT_CODE not like '0113%') t5,
           (select t4.emp_name, t2.friend_id
              from rel_friend_emp t2, tc_department t3, tc_employee t4
             where t2.emp_id = t4.emp_id
               and t3.dept_id = t4.dept_id
               and t2.owner_id = 1
               and t3.owner_id = 1
               and t4.owner_id = 1
               and t2.is_self = 1
               and t3.biz_dept_id = '130') t9
     where t5.friend_id = t9.friend_id(+)
    posted @ 2008-09-27 16:14 北極雪 閱讀(217) | 評論 (0)編輯 收藏

         摘要: 查看一個客戶是否是簽的第一個單子  閱讀全文
    posted @ 2008-09-27 14:24 北極雪 閱讀(303) | 評論 (0)編輯 收藏

         摘要: 三個sql的區別  閱讀全文
    posted @ 2008-09-25 15:23 北極雪 閱讀(259) | 評論 (0)編輯 收藏

    oncopy="return false;" oncut="return false;" oncontextmenu="return false"
    posted @ 2008-09-25 09:46 北極雪 閱讀(265) | 評論 (0)編輯 收藏

         摘要: sql01  閱讀全文
    posted @ 2008-09-23 10:08 北極雪 閱讀(161) | 評論 (0)編輯 收藏

    主站蜘蛛池模板: 中文字幕在线亚洲精品| h视频在线免费看| av成人免费电影| 免费毛片毛片网址| 一级毛片正片免费视频手机看| 精品无码专区亚洲| 日日狠狠久久偷偷色综合免费| 曰批免费视频播放免费| 一级特黄aaa大片免费看| 一级毛片视频免费| 黄 色一级 成 人网站免费| 成人无码视频97免费| jizz免费观看| 国偷自产一区二区免费视频 | 亚洲日韩精品一区二区三区无码| 狠狠亚洲婷婷综合色香五月排名| 亚洲日本乱码在线观看| 亚洲va无码专区国产乱码| 久久av无码专区亚洲av桃花岛| 亚洲欧洲精品视频在线观看| 亚洲丰满熟女一区二区v| 亚洲精品久久久久无码AV片软件| 久久久久亚洲国产AV麻豆 | 亚洲国产成人久久综合一| 亚洲精品免费在线| 亚洲 日韩 色 图网站| 老司机午夜精品视频在线观看免费| 乱人伦中文视频在线观看免费| 两性色午夜视频免费网| 最近免费mv在线电影| 午夜男人一级毛片免费| 亚洲七七久久精品中文国产| 亚洲av无码一区二区三区不卡 | 亚洲精品无码久久久| 亚洲第一极品精品无码久久| 亚洲精品亚洲人成在线麻豆| 亚洲av日韩精品久久久久久a | 国产精品亚洲综合久久| www免费插插视频| 120秒男女动态视频免费| 日韩免费a级在线观看|