This section is the indication of the end of the PL/SQL block. PL/SQL Conditional StatementsDecision making statements are those statements which are in charge of executing astatement out of multiple ...
SELECT id, split,cust,date_column, CASE num_cust WHEN 1 THEN total_amount ELSE total_cust_amount END AS amount FROM ( SELECT t.*, COUNT(DISTINCT CASE rnk WHEN 1 THEN cust END) OVER (PARTITION BY id, ...