MariaDB using 'distinct' keyword changes expected behavior of other column

后端 未结 0 1651
清歌不尽
清歌不尽 2021-02-19 02:43

Why does this work:

SET @cnt = 0;
SELECT (@cnt:=@cnt+1) AS \'foo\', title FROM employee;

But when

相关标签:
回答
  • 消灭零回复
提交回复
热议问题