Answering Queries in Relational Databases