<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 北極雪 閱讀(280) | 評論 (0)編輯 收藏

         摘要: javascript打開outlook  閱讀全文
    posted @ 2008-10-07 10:33 北極雪 閱讀(1052) | 評論 (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 北極雪 閱讀(223) | 評論 (0)編輯 收藏

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

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

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

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

    主站蜘蛛池模板: 亚洲AV日韩AV永久无码色欲| 亚洲午夜电影在线观看高清 | 不卡精品国产_亚洲人成在线| 亚洲国产一区二区三区在线观看 | 免费看内射乌克兰女| 国产在线观看免费视频播放器| 亚洲人AV在线无码影院观看| 成年男女免费视频网站| 亚洲欧美第一成人网站7777 | 亚洲色大成网站www永久男同| 毛片在线看免费版| 亚洲国产欧美国产综合一区| 日本成人在线免费观看| 免费观看又污又黄在线观看| 久久久久亚洲AV无码专区桃色| 91视频免费网站| 亚洲高清不卡视频| 日韩精品福利片午夜免费观着| 亚洲综合一区国产精品| 免费A级毛片无码A| 国产在线精品观看免费观看| 久久国产精品亚洲综合| 99久久99这里只有免费费精品| 亚洲中文无码mv| 亚洲另类少妇17p| 日本免费大黄在线观看| 亚洲一卡2卡3卡4卡国产网站 | 亚洲欧美日韩综合俺去了| 免费国产成人高清在线观看麻豆| EEUSS影院WWW在线观看免费| 久久久久亚洲AV片无码| 99视频在线精品免费观看6| 粉色视频免费入口| 久久久久无码精品亚洲日韩| 国产精品无码免费播放| 国产精品小视频免费无限app| 亚洲福利一区二区三区| 国产乱子伦片免费观看中字| 久久久99精品免费观看| 亚洲乱亚洲乱妇无码| 国产成人无码综合亚洲日韩|