Trying to get the average number of a value by day in SQL -
i trying average number of posted jobs day , cannot figure out of similar prior questions asked on site. seems pretty basic reason isn't working. can please help? thank you!
select avg(count(*) select (count(*), to_char(thedate, 'mm/dd/yyyy') date jobs companyid = 1)
try this:
select avg(jobnumber), date select (count(*) jobnumber, to_char(thedate, 'mm/dd/yyyy') date jobs companyid = 1 group to_char(thedate, 'mm/dd/yyyy') ) innerselect group date
Comments
Post a Comment