zoukankan      html  css  js  c++  java
  • oracle 多表插入

    1:有条件的
    insert all   
      when customer_id < 1000 then   
         into small_customers   
      when customer_id >= 1000 and customer_id < 10000 then   
         into medium_customers   
      else   
         into large_customers  
      select customer_id, sum_orders from orders; 
     
    2:无条件的
    insert all   
         into small_customers   
         into medium_customers   
         into large_customers  
      select customer_id, sum_orders from orders; 
  • 相关阅读:
    优化--工具
    架构
    Gradle
    战争迷雾
    进度管理
    工具
    架构
    牛人
    apk 破解
    效率
  • 原文地址:https://www.cnblogs.com/working/p/3673466.html
Copyright © 2011-2022 走看看