Advertisement
VoronVU

Клиент Курс Контейнер Стоимость

Feb 6th, 2015
556
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT
  2.   cn.client_id,
  3.   NVL(cn.sub_id,-1)   AS account_id,
  4.   cn.container_id,
  5.   TRUNC(cn.send_date) AS send_date,
  6.   cn.container_cost
  7. FROM
  8.   container cn,
  9.   client_sub cs
  10. WHERE cn.status_id = 70
  11.   AND cn.sub_id = cs.sub_id (+)
  12.   AND cn.client_id = 1231586
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement