But Some Queries are Difficult to Unnest
select distinct struct ( D: d, E: ( select distinct e
?{ < D = d, E = ?{ e | e ? Employees, e.dno = d.dno } >
Notes:
But there are queries that cannot be unnesting by normalization alone. Here is a comprehension that contains another comprehension in its head. This query cannot be unnested by normalization.