Update queries.py
Browse files- 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 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
having
|
| 107 |
-
|
| 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 |
|