[點晴永久免費OA]取得數據表中前N條記錄,某列重復的話只取第一條記錄
當前位置:點晴教程→點晴OA辦公管理信息系統
→『 經驗分享&問題答疑 』
select * from scm_other_out_stock_order_list where id in (select min(id) from scm_other_out_stock_order_list group by order_id)
該文章在 2018/11/7 12:26:43 編輯過 |
關鍵字查詢
相關文章
正在查詢... |