<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月25日 #

         摘要: 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)編輯 收藏

    主站蜘蛛池模板: 国产亚洲精品无码成人| 国产激情久久久久影院老熟女免费| 亚洲色精品vr一区二区三区| 精品熟女少妇AV免费观看| 日韩电影免费在线观看网站| 在线观看亚洲专区| 亚洲人成综合网站7777香蕉| 久久精品国产亚洲香蕉| 国产亚洲成人久久| 国产在线观看免费视频播放器| 一个人免费观看视频www| 日韩午夜理论免费TV影院| 成人妇女免费播放久久久| 美女视频黄.免费网址| 亚洲色欲色欱wwW在线| 亚洲伊人久久大香线蕉啊| 亚洲国产精品一区二区久久| 亚洲va久久久噜噜噜久久狠狠 | 亚洲AV无码码潮喷在线观看| 亚洲精品一级无码中文字幕| 国产免费观看视频| 日韩视频在线免费观看| 四虎影视大全免费入口| 在线观看无码AV网站永久免费| h片在线免费观看| 亚洲免费福利视频| jjizz全部免费看片| 四虎在线最新永久免费| 91麻豆国产免费观看| 91短视频在线免费观看| 亚洲一区二区三区免费在线观看 | 亚洲va久久久噜噜噜久久男同| 国产亚洲婷婷香蕉久久精品| 亚洲无线观看国产精品| 国产亚洲人成无码网在线观看 | 最近免费字幕中文大全| a视频在线观看免费| 日本人成在线视频免费播放| 久久午夜夜伦鲁鲁片无码免费| 午夜影院免费观看| 日本免费xxxx|