Database of all Mac models I need a database of all Mac models produced within the last decade (at least). Something like EveryMac or MacTracker but as a table in SQL or a similar format, to be put into a RDBMS.

Does anybody know where I can get / buy one?
Try MacTracker. It's available in the App Store and Mac App Store. I hit enter before I finished thinking through my answer. What info do you need, Model Numbers or Model Names?