QUERY PLAN
Aggregate (cost=92.71..92.72 rows=1 width=8)
-> Hash Join (cost=0.03..92.71 rows=1 width=0)
Hash Cond: (tbl_pre_sales.case_id = id)
-> Seq Scan on tbl_pre_sales (cost=0.00..88.37 rows=1637 width=4)
-> Hash (cost=0.02..0.02 rows=1 width=4)
-> HashAggregate (cost=0.00..0.01 rows=1 width=4)
Group Key: id
-> Result (cost=0.00..0.00 rows=0 width=4)
One-Time Filter: false