Left Outer Join doesn't return all rows from my left table?

后端 未结 3 1976
陌清茗
陌清茗 2020-11-21 10:23

I am trying to get the number of page opens on a per day basis using the following query.

SELECT day.days, COUNT(*) as opens 
FROM day 
LEFT OUTER JOIN track         


        
3条回答
  •  终归单人心
    2020-11-21 10:35

    You specify that the connected tracking.open_id must be 10. For the other rows it will be NULL, so they'll not show up!

提交回复
热议问题