Queries the database for the given database ID
Iterates through the database query results
Prints the title of the deadline, the names of the people in the deadline, and the finish date