Skip to content

Commit

Permalink
Added Analytical Function
Browse files Browse the repository at this point in the history
  • Loading branch information
vishreddy01 committed Jan 23, 2024
1 parent 62310e9 commit aa8c55f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
with source_data as (

--select a.*,26 as Total_Count from fdw_ods_rrs_replication.road_tenure_type_code a
select a.*,26 as Total_Count from {{ var('db_fdw_rrs') }}.road_tenure_type_code a
select a.*,count(*) over (partition by expiry_date) as Total_Count from {{ var('db_fdw_rrs') }}.road_tenure_type_code a

)

Expand Down

0 comments on commit aa8c55f

Please sign in to comment.