You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT s.name,replace(concat_ws(',',lpad(s.id,6,'0'),s.name),',','') `code` FROM `tt` AS s
SELECT CASE WHEN dept='物资部' THEN '物资部' ELSE '其他' END dept,sum(s.value) FROM `tt` AS s GROUP BY CASE WHEN dept='物资部' THEN '物资部' ELSE '其他' END
6. What did you see instead?
SELECT s.name,replace(concat_ws(',',lpad(s.id,'0'),s.name),',','') `code` FROM `tt` AS s
SELECT CASE WHEN dept='物资部' THEN '物资部' ELSE '其他' END dept,sum(s.value) FROM `tt` AS s GROUP BY `CASE` WHEN dept='物资部' THEN '物资部' ELSE '其他' END
The text was updated successfully, but these errors were encountered:
Issues-translate-bot
changed the title
mysql: 某些情况下,生成的sql语句有BUG
mysql: In some cases, the generated sql statement has a BUG
May 12, 2023
gqcn
added
the
bug
It is confirmed a bug, but don't worry, we'll handle it.
label
Aug 21, 2023
1. What version of
Go
and system type/arch are you using?go version go1.20.3 windows/amd64
2. What version of
GoFrame
are you using?v2.4.1
3. Can this issue be re-produced with the latest release?
yes
4. What did you do?
5. What did you expect to see?
6. What did you see instead?
The text was updated successfully, but these errors were encountered: