• 表基本结构

Oracle-单表合并列

    • 合并列
select t.student,decode(t.java,'','','java') 科目, t.java
    from student t
union
select t.student,decode(t.c,'','','c') 科目, t.c
    from student t
    • 输出结果
      Oracle-单表合并列

相关文章:

  • 2022-02-02
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
  • 2021-12-14
  • 2021-12-09
猜你喜欢
  • 2022-01-07
  • 2022-12-23
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
相关资源
相似解决方案