SQL牛客刷题一直不通过

各位帮忙看一下,这段代码哪里有问题?


select vend_id,prod_price as cheaptest_item
from
     (select vend_id,prod_price,
     row_number() over(partition by vend_id order by prod_price) as ra 
     from Products) as Prod
where ra=1
order by cheaptest_item;

题目如下:

img

在牛客网上自测运行出来的结果和预期一致,但是保存提交一直不通过

img

1、题目中要求输出的字段为:cheapest_item,而你输出的是:cheaptest_item


SELECT vend_id,MIN(prod_price) AS cheaptest_item 
FROM Products
GROUP BY vend_id
ORDER BY cheaptest_item