select_statementUNION [ALL] selectstatement[UNION [ALL] selectstatement][…n]其中selectstatement为待联合的SELECT查询语句。用联合查询足以
这个只能在后台代码判断并组装语句,然后联表查询