CREATE TABLE table_15315816_1 (dates VARCHAR, year VARCHAR)

When are all dates in the year 2006?
SELECT COUNT(dates) FROM table_15315816_1 WHERE year = "2006"
SELECT COUNT("dates") FROM "table_15315816_1" WHERE "2006" = "year"