- compleated sql impl for DAO