select code,max(LONGDESCRIPTION) from currency group by code
得到如下

但是我外部再套一層select如下:
select * from
(
select code,max(LONGDESCRIPTION) from currency group by code
) currency
where 2='美元';
這樣查報錯啊
uj5u.com熱心網友回復:
大神們幫忙看下啊,自己頂上去轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/92418.html
標籤:DB2
上一篇:Ubuntu ROS上同時使用兩個D435i相機并發布話題
下一篇:如何查看所有被賦值的變數
