[點晴永久免費OA]取得數(shù)據(jù)表中前N條記錄,某列重復(fù)的話只取第一條記錄
當(dāng)前位置:點晴教程→點晴OA辦公管理信息系統(tǒng)
→『 經(jīng)驗分享&問題答疑 』
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 編輯過 |
關(guān)鍵字查詢
相關(guān)文章
正在查詢... |