drh e35463b312 Bare identifiers in ORDER BY clauses bind more tightly to output column name,
but identifiers in expressions bind more tightly to input column names.
This is a compromise between SQL92 and SQL99 behavior and is what
PostgreSQL and MS-SQL do.  Ticket [f617ea3125e9c].

FossilOrigin-Name: c78b357c00a35ed48ce2ffbc041de8d22570d1e2
2013-08-15 20:24:27 +00:00
..
2013-06-12 17:08:06 +00:00
2013-07-19 23:58:41 +00:00
2013-06-12 17:08:06 +00:00
2012-12-08 03:34:04 +00:00
2013-06-12 17:08:06 +00:00
2013-06-12 17:08:06 +00:00
2012-12-19 16:32:33 +00:00
2013-06-12 17:08:06 +00:00
2013-06-12 17:08:06 +00:00
2013-06-12 17:08:06 +00:00
2013-06-12 17:08:06 +00:00
2013-06-12 17:08:06 +00:00