compound SELECT statements with FROM clause subqueries. Ticket [38cb5df375078d3f9]. FossilOrigin-Name: b0450120eabfe5455cea1ed04cec587a5540b6b7