Flexible Search Query UNION
问题 I would like to add a UNION to this query , Where exactly Should I put any UNION (doesn't matter the code of the UNION , I just want to know where can I put it) in the following Flexible Search Query (I'm not familiar with the Syntax) SELECT DISTINCT {o:pk} FROM ( {{ SELECT MAX({h.startTime}) AS startTime FROM {CronJobHistory AS h JOIN CronJobResult AS r ON {h.result} = {r.pk} } WHERE {h.cronJobCode} = 'ordersCronJob' AND {r.code} = 'SUCCESS' }} ) LAST, ( {{ SELECT MAX({h.startTime}) AS