select operation of monetdb database