oracle 高级用法, decode 排序, over(partition by x order by y) 开窗函数
摘要:场景 01 (IN 语句 排序 decode() 函数): 1,我们在查询中会经常使用这样的用法, select * from table_name t where t.id in (1, 3, 7, 9),这是一条查询表中 id 为 1, 3, 7, 9 的数据现在我们加上一个需求, 要求查出来的
阅读全文
posted @
2019-06-21 09:54
被遗忘的优雅
阅读(3122)
推荐(0) 编辑