-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yoginth
committed
Dec 5, 2024
1 parent
a51d0c7
commit b09bba8
Showing
2 changed files
with
656 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
```sql | ||
SELECT | ||
JSON_AGG( | ||
REPLACE(handle, 'lens/', '') | ||
) AS handles | ||
FROM ( | ||
SELECT handle | ||
FROM app.onboarding_handle | ||
WHERE onboarded_by_address = '0x4b8845ACb8148dE64D1D99Cf27A3890a91F55E53' | ||
ORDER BY handle_id | ||
LIMIT <quantity> OFFSET <last_offset> | ||
) subquery; | ||
``` | ||
|
||
## Invoices | ||
|
||
| For | Month | Year | Quantity | Amount | Total | Offset | Filter | | ||
|------------|-------|------|----------|---------|---------|--------------------|------------------------| | ||
| YOGINTH-12 | 11 | 2024 | 0 | 0 | 0 | 6168 + 2860 = 9028 | LIMIT 1 OFFSET 9028 | | ||
| SAGAR-11 | 10 | 2024 | 2860 | 250 | 715000 | 6167 + 1 = 6168 | LIMIT 2860 OFFSET 6168 | | ||
| YOGINTH-10 | 10 | 2024 | 1 | 1120000 | 1120000 | 5567 + 600 = 6167 | LIMIT 1 OFFSET 6167 | | ||
| SAGAR-09 | 9 | 2024 | 600 | 250 | 150000 | 5566 + 1 = 5567 | LIMIT 600 OFFSET 5567 | | ||
| YOGINTH-08 | 9 | 2024 | 1 | 650000 | 650000 | 2396 + 3170 = 5566 | LIMIT 1 OFFSET 5566 | | ||
| SAGAR-07 | 8 | 2024 | 3170 | 284 | 900280 | 2395 + 1 = 2396 | LIMIT 3170 OFFSET 2396 | | ||
| YOGINTH-06 | 8 | 2024 | 1 | 1900000 | 1900000 | 1880 + 515 = 2395 | LIMIT 1 OFFSET 2395 | | ||
| SAGAR-05 | 7 | 2024 | 515 | 1865 | 960475 | 1879 + 1 = 1880 | LIMIT 515 OFFSET 1880 | | ||
| YOGINTH-04 | 7 | 2024 | 1 | 1181420 | 1181420 | 1399 + 480 = 1879 | LIMIT 1 OFFSET 1879 | | ||
| SAGAR-03 | 6 | 2024 | 480 | 560 | 268800 | 249 + 1150 = 1399 | LIMIT 480 OFFSET 1399 | | ||
| YOGINTH-02 | 6 | 2024 | 1150 | 560 | 644000 | 0 + 249 = 249 | LIMIT 1150 OFFSET 249 | | ||
| YOGINTH-01 | 5 | 2024 | 249 | 640 | 159360 | 0 + 0 = 0 | LIMIT 249 OFFSET 0 | |
Oops, something went wrong.