We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0024c31 commit 9087b13Copy full SHA for 9087b13
models/core_/dim__orgs.sql
@@ -34,7 +34,7 @@ WITH orgs AS (
34
35
36
SELECT
37
- case when orgs.org_id % 49 = 0 then orgs.org_id - 50000000 else orgs.org_id end as org_id
+ case when mod(orgs.org_id, 49) = 0 then orgs.org_id - 50000000 else orgs.org_id end as org_id
38
, created_at
39
, num_users
40
, sub_created_at
0 commit comments