parser icon indicating copy to clipboard operation
parser copied to clipboard

Support UNION in select subquery fields

Open dyzsr opened this issue 5 years ago • 0 comments

Feature Request

Is your feature request related to a problem? Please describe:

TiDB doesn't support UNION expressions inside subquery in select fields.

select ((select count(a)) union (select count(b))) from t;

Describe the feature you'd like:

Support it like what MySQL does.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

dyzsr avatar Dec 01 '20 10:12 dyzsr