How Can Database Assignments Be Solved Effectively?