Ninad077 commited on
Commit
7e7eb44
·
verified ·
1 Parent(s): db155f0

Update queries.py

Browse files
Files changed (1) hide show
  1. queries.py +6 -6
queries.py CHANGED
@@ -98,13 +98,13 @@ queries = {
98
  # Query 5
99
  '5. Transactions in seller fees validation': '''
100
  select
101
- bag_id,
102
- concat(bag_id,transaction_type) as Merged,
103
- count(concat(bag_id,transaction_type))
104
- from `fynd-db.finance_recon_tool_asia.11_seller_fees_daily`
105
- group by 1,2
106
  having
107
- count(concat(bag_id,transaction_type)) not in (1)
108
  ''',
109
 
110
 
 
98
  # Query 5
99
  '5. Transactions in seller fees validation': '''
100
  select
101
+ concat(bag_id,Settlement_type) as Merged,
102
+ count(concat(bag_id,Settlement_type))
103
+ from `fynd-db.finance_recon_tool_asia.09_seller_net_collection_daily`
104
+ group by
105
+ 1
106
  having
107
+ count(concat(bag_id,Settlement_type)) not in (1)
108
  ''',
109
 
110