implement select, delete and update of Statement class