编写查询以显示每个端口执行的端口名称、total_profit 和第一个 total_profit。将别名命名为“first_total_profit”。根据端口名称升序显示记录。
提示:分析函数:FIRST_VALUE( )。
解析子句:按department_port_id分区,按总利润排序分区结果
编写查询以显示每个端口执行的端口名称、total_profit 和第一个 total_profit。将别名命名为“first_total_profit”。根据端口名称升序显示记录。
提示:分析函数:FIRST_VALUE( )。
解析子句:按department_port_id分区,按总利润排序分区结果