check约束与select