Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grouping a Query by Date

Status
Not open for further replies.

frasernm

Programmer
Aug 7, 2001
25
GB
Hi,

Using a query with grouping by date column (DD-MON-YYYY) - is it possible to show the dates where there is a null value in the count field (for exporting/graphing purposes)?

Thanks
 
You might be able to rig something using NVL:

SELECT date_column, count_column, COUNT(NVL(count_column,' '))
GROUP BY date_column, count_column
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top