Skip to content

Instantly share code, notes, and snippets.

View pvcodes's full-sized avatar

Pranjal Verma pvcodes

View GitHub Profile
WITH osh_ranked AS (
SELECT
customer_id,
ca_credit_turnover_amt AS osh_ca,
eff_start_date,
eff_end_date
FROM (
SELECT
customer_id,
ca_credit_turnover_amt,