一张桌子
MODEL(IDMODEL inc., NAME text)
一张桌子
DOC(IDDOC inc., NAME text, RELEASE numeric, IDMODEL numeric)
DOC 中的记录证实DOC.IDMODEL == MODEL.IDMODEL.
我想从中选择DOC
具有最大值的所有记录RELEASE
。
模型数据:
"1" "specification"
"2" "cahier de test"
来自 DOC 的数据:
iddoc name release idmodel
"1" "doc 1.1" "1" "1"
"2" "doc 1.2" "2" "1"
"3" "doc 2.1" "1" "2"
"4" "doc 2.2" "2" "2"
"5" "doc 2.3" "3" "2" > required
"6" "doc 1.3" "3" "1"
"7" "doc 1.4" "4" "1" > required
"8" "doc 2 bis.1" "1" "2"
"9" "doc 2 bis.2" "2" "2"
"10" "doc 2 bis.3" "3" "2" > required
你能帮我做 SELECT 命令吗?
此致。