Sort (cost=14.54..14.55 rows=7 width=21) |
Sort Key: u.name |
-> Group (cost=14.38..14.44 rows=7 width=21) |
Group Key: s.id, u.id |
-> Sort (cost=14.38..14.40 rows=7 width=21) |
Sort Key: s.id, u.id |
-> Hash Join (cost=8.11..14.29 rows=7 width=21) |
Hash Cond: (s.accessible_user = u.id) |
-> Seq Scan on tbl_visible_schedules s (cost=0.00..6.09 rows=33 width=8) |
Filter: ((accessible_user IS NOT NULL) AND (user_id = 1004)) |
-> Hash (cost=7.74..7.74 rows=30 width=13) |
-> Seq Scan on tbl_users u (cost=0.00..7.74 rows=30 width=13) |
Filter: (user_status = '1'::type_global_user_status) |