• A tally table is something that you need to generate. Here's an article about it including several scripts to create it:

    http://www.sqlservercentral.com/articles/T-SQL/62867/