I'm writing up documentation for a tool that works with SQL schemas. It would make sense for the documentation to use a common example schema rather than making up a new one. Any recommendations for one that's already defined somewhere?
Ideally it would
- come from a problem domain most readers are already familiar with;
- have an example of all the major cardinalities (1-to-many, optional-to-many, many-to-many, optional-to-one) and have examples with and without "cascade delete" ownership;
- not be mired in meta-terms (not be a schema for schemas for example!)
- be simple;
I remember MS SQL Server 2000 documentation using their PUBS database, which was a database about publishers and authors and books. Not bad. But Microsoft has moved away from it to AdventureWorks and Northwind. Would anyone recommend any of those?