I'm using MySQL 5.5 Command Line Client
.
What I want:
What I tried last:
SELECT e.event_id,e.title,e.description,e.event_date,e.image, sum(d.amount) as total,count(d.event_id) as total_donors FROM event e,donation d where d.event_id = e.event_id group by e.event_id;
This joins the table but I want the null value as well, How can I modify this to get the last row in the desired results table(in the image attached)?
Also, what is this type of join called?
Thanks.