本文介绍了从一个表中选择,插入到另一个表中 oracle sql 查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!
问题描述
我正在尝试从一张表中选择数据
并将数据插入到另一个表中
I am trying to select data from one table
and insert the data into another table
我正在尝试使用 OracleSql
从tickerdb表中获取股票代码GOOG",
并将 t.ticker 插入到 stockdb 表中.
Using OracleSql I am trying to
get the ticker symbol "GOOG" from the tickerdb table,
and insert the t.ticker into the stockdb table.
从tickerdb表中选择-->插入到quotedb表中
select from tickerdb table --> insert into quotedb table
推荐答案
从 oracle 文档中,下面的查询更好地解释了它
From the oracle documentation, the below query explains it better
您可以阅读此链接
您的查询如下
注意:确保插入和选择中的列根据您的要求位于正确的位置
Note: Make sure the columns in insert and select are in right position as per your requirement
希望这有帮助!
这篇关于从一个表中选择,插入到另一个表中 oracle sql 查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!
本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!