implement select
delete table for now, as it's the same as select