By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Records: 4 Duplicates: 0 Warnings: 0
Records: 7 Duplicates: 0 Warnings: 0
Records: 13 Duplicates: 0 Warnings: 0
| hasActiveTeamLeadTasks |
|---|
| 4 |
| hasActiveTeamLeadTasks |
|---|
| 0 |
| hasActiveTeamLeadTasks |
|---|
| 4 |
| userID | userName | userEmail | activeTasksCount | completedTasksCount | hasActiveTeamLeadTasks | taskJson |
|---|---|---|---|---|---|---|
| 1 | user1 | user1@example.com | 3 | 4 | 2 | [{"id": 1, "title": "task1"}, {"id": 2, "title": "task2"}, {"id": 3, "title": "task3"}, {"id": 4, "title": "task4"}, {"id": 5, "title": "task5"}, {"id": 6, "title": "task6"}, {"id": 7, "title": "task7"}] |
| 2 | user2 | user2@example.com | 2 | 1 | 0 | [{"id": 5, "title": "task5"}, {"id": 6, "title": "task6"}, {"id": 7, "title": "task7"}] |
| 3 | user3 | user3@example.com | 2 | 1 | 1 | [{"id": 5, "title": "task5"}, {"id": 6, "title": "task6"}, {"id": 7, "title": "task7"}] |
| 4 | user4 | user4@example.com | null | null | null | [{"id": null, "title": null}] |