support simple select statment without where clause