學習 學習 再學習

          學習才是唯一的出路

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            31 隨筆 :: 1 文章 :: 8 評論 :: 0 Trackbacks
          SELECT  a.title,a.SEND_STAFF_ID,a.SEND_DATE,a.STATE,a.order_id
          from order_main_info a,INT_AD_INFO  c
          WHERE   a.order_type='32' and
          a.state='0' and c.order_id=a.order_id and
          a.order_id=(select order_id from(select rownum rn,order_id
          from ORDER_DEAL_INFO where order_id=(select order_id from order_main_info where order_type='32' and  state='0'))
          where rn=(select count(*) from ORDER_DEAL_INFO where order_id=(select order_id from order_main_info where order_type='32' and  state='0')))

          J-CN工作室
          www.j-cn.org
          posted on 2009-10-15 09:36 鐵猴 閱讀(176) 評論(0)  編輯  收藏 所屬分類: ORACLE
          主站蜘蛛池模板: 新密市| 三亚市| 西畴县| 镇安县| 广东省| 平舆县| 达州市| 浮梁县| 蒙山县| 嵩明县| 汽车| 桦南县| 建平县| 青州市| 颍上县| 石台县| 绥芬河市| 厦门市| 深州市| 迁安市| 巩留县| 渝中区| 安阳县| 乌拉特后旗| 黄石市| 康平县| 泸州市| 阳江市| 昌黎县| 鄱阳县| 彭阳县| 宿松县| 丹寨县| 涞水县| 资阳市| 平安县| 红桥区| 深州市| 凤城市| 磐石市| 缙云县|