This will show you how to get the info out of the database, and create a combined output table from the database.

Begin Example: