use OpenM_DB to create select