Fixed SQL commands DAO