DAOimplement_sql_queries_bug_fixed#2