db with 2 tables