【发布时间】:2018-09-08 23:30:13
【问题描述】:
根据其他一些帖子,SQLite 中的 max() 函数等效于 Postgresql GREATEST() 函数。 有人可以用字符串解释 SQlite max 函数的奇怪行为吗:
select max ('rb','VISA', 'Visa', 'Visa Card1', 'VISA VISA Card', 'Visaaa')
返回“rb”。为什么?!? 我希望“VISA VISA Card”作为最长的字符串作为结果返回......
【问题讨论】:
标签: arrays string postgresql sqlite max