Mysql date table join alternative -


When there is data storage, and there is no data for a particular day, then dataset leave gaps in dates in mysql May

  Date Count 2014-07-09 1 2014-07-10 1 2014-07-11 1 2014-07-13 1 2014-07-15 1  

When it is expected to appear:

  Date Count 2014-07-09 1 2014-07-10 1 2014-07-11 1 2014-07-12 0 2014 -07-13 1 2014-07-14 0 2014-07-15 1 It consists of a table prepared with a column with every single date from each date to every day Solution despite being can be done . Although I am thinking that there is no alternative to it in MySquel? 


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -