Advertisement
Guest User

Untitled

a guest
May 13th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  SELECT
  2.  A.GEAR_MODEL || CASE WHEN C.GEAR_SIZE IS NULL OR C.GEAR_SIZE = '' THEN ''
  3.  ELSE ' (' || GEAR_SIZE || ')' END "GEAR_MODEL (GEAR_SIZE)"
  4.  FROM BCDATARSLTS A, BCDISCRETEHEDRS B, MV_BCGEARS C
  5.  WHERE A.DISCRETE_SEQ = B.DISCRETE_SEQ AND B.GEAR_SEQ = C.GEAR_SEQ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement