On 3/30/2018 1:04 PM, Peter Da Silva wrote:
On 3/30/18, 11:58 AM, "sqlite-users on behalf of Simon Slavin" 
<sqlite-users-boun...@mailinglists.sqlite.org on behalf of slav...@bigfraud.org> wrote:
can think of to do it is to devise a metric to turn a pair (a, b) into one 
number.

Problem is you can't uniquely order pairs of points.

Yes you can.

Is (1, 2) greater or lesser than (2, 1)?

"select (1, 2) < (2, 1)" says lesser.

For further discussion, see 
https://www.sqlite.org/rowvalue.html#row_value_comparisons
--
Igor Tandetnik


_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to