Code: Select all
(from
where
orderby
select new { }).Except(from where select new {})
Code: Select all
(from
where
orderby
select new { }).Except(from where select new {})
Code: Select all
(select * from dept order by deptno desc)
except
(select * from dept where deptno > 20)
Yes that makes perfect sense; in postgresql you would do (given ordering is required on column 1):AndreyR wrote:In particular, PostgreSQL ignores the ORDER BY statement, you can check it using the following example:Code: Select all
(select * from dept order by deptno desc) except (select * from dept where deptno > 20)
Code: Select all
(select * from dept)
except
(select * from dept where deptno > 20)
order by 1 desc
Code: Select all
(from
where
orderby
select new { }).Except(from where select new {}).OrderBy(entity=>entity.OrderingProperty);