---
title: "两个表间数据操作"
author: "peryou"
date: "2013-07-30T22:34:44Z"
tags: ["Oracle"]
categories: ["数据库"]
slug: "untitled"
draft: false
lastmod: "2013-07-30T22:34:44Z"
id: 1915803
url: "https://peryou.iteye.com/blog/1915803"
---

table1

table2

①假如把table1中的某个字段或多个字段复制到table2中

Insert into Table2(field1,field2,...) select value1,value2,... from Table1

②假如把table1中所有字段都复制到table2中

SELECT vale1, value2 into Table2 from Table1