State tax filing

Thought about this a bit.  It would seem that the federal IRS has electronic versions of all the income e.g. W-2 and 1099s.  They do an income compare between TT and their database and then issue you a refund or you make a payment.  The question is do the states have access to the income database also?  I guess I won the lottery to get selected?  Maybe the punch cards were damaged in transit?