Postgresql – How do I add this query to the column in my table?
I want to add this query to a column in my table.I am using pgadmin select customer_id, count(*) from summary group by customer_id order by customer_id asc I got as far as ALTER TABLE summary add sum_of_rentals INT UPDATE SUMMARY…