> > I am fairly certain this does not give you the correct results. > Specifically, the minimum value for each cDate is going to be 1 since > count(*) counts NULLs. count(u) should probably work. > > > Yes you are right, I forgot to change COUNT(*) to COUNT(id), as you mention COUNT(u.*) will also work. I just couldn't get the idea of generating a sequence form 0 to 6 to work correctly. The approach I'm using seems to give the correct results (with COUNT(u.id)).
- [GENERAL] Average New Users Per DOW Robert DiFalco
- Re: [GENERAL] Average New Users Per DOW Paul Jungwirth
- Re: [GENERAL] Average New Users Per DOW Robert DiFalco
- Re: [GENERAL] Average New Users Per DOW David G. Johnston
- Re: [GENERAL] Average New Users Per DOW Paul Jungwirth
- Re: [GENERAL] Average New Users Per DOW Robert DiFalco
- Re: [GENERAL] Average New Users Pe... David G. Johnston
- Re: [GENERAL] Average New User... Robert DiFalco
- Re: [GENERAL] Average New ... David G. Johnston
- Re: [GENERAL] Average New Users Per DOW Michael Nolan
- Re: [GENERAL] Average New Users Per DOW David G. Johnston
- Re: [GENERAL] Average New Users Per DOW Michael Nolan
- Re: [GENERAL] Average New Users Per DOW Michael Nolan