Sometimes EFCore emits nested `SELECT`s over scalar values as in https://github.com/dotnet/efcore/pull/34262#pullrequestreview-2193265550 The could be simplified away for legibility and to allow further simplifications of the expressions. The scalar case should be simple to recognize and fold away.
Activity
[-]Optimize nested SELECT[/-][+]Optimize nested scalar SELECT[/+]