Home > database >  The SQL what's the problem, why didn't get the value, I want to beg god answer
The SQL what's the problem, why didn't get the value, I want to beg god answer

Time:05-14

SELECT COUNT (*) AS NUM FROM UN_INSPB_CASE_DOCUMENT
The WHERE (SELECT
CASE

The WHEN
(UN02_DOCUMENT_TYPE='A - FR) THEN
'UN02_CASOU_NUM' ELSE 'UN02_CASE_NUM'
END
The FROM
UN_INSPB_CASE_DOCUMENT WHERE UN02_CASE_NUM='8362 b4efaffd448bb6e91cea77026647'
AND UN02_DOCUMENT_TYPE='A - FR
ATF AND UN02_DOCUMENT_CODE=' ')='PAF (no00002 PAF1995/2 a REPARTI?? O FISCAL/1996) '

The SQL what's the problem, why we didn't get what I want
  • Related