PostgreSQL better query performance
I have customers and visits table, and I would like to know which of these two queries has the better performance: (I have indexes defined for those columns) Query 1 SELECT customers.id as id, COALESCE(v.count, 0) as visits FROM customers…