Select 多个固定值在一列的两种写法,一种是传统的union all,还有一个就是explode,比如SELECT explode(array('张三','李四','王五','赵六','陈七')) AS name ;

阅读全文 »