simple select query handling implemented

all analytic test passed