Last active
November 1, 2020 14:17
-
-
Save amacal/eb27caac9b208e1925aa398dc4cb9e2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select count(1) | |
from ecds_db.playground.orders | |
where and _etl_deleted_at is null | |
and _etl_id not in | |
( | |
select _etl_id_prev | |
from ecds_db.playground.orders | |
where _etl_id_prev is not null | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment