Answers for "oracle insert into"

SQL
4

oracle insert into

INSERT INTO table
(column1, column2, ... column_n )
VALUES
(expression1, expression2, ... expression_n );
Posted by: Guest on March-30-2020
15

insert into oracle

INSERT INTO table_name (a, b) VALUES (val1, val2); 
INSERT INTO table_name (a, b) VALUES (val1, val2), (val3, val4); -- 2 rows

-- From a query:
INSERT INTO table_name (a, b) 
	SELECT val1 AS a, val2 AS b 
    FROM source_table s
	WHERE s.val1 >= 10;
Posted by: Guest on July-04-2021
10

oracle insert into where

INSERT INTO my_table SELECT * FROM source_table;
INSERT INTO my_table (a, b, c) SELECT a, b, c FROM source_table;
INSERT INTO my_table (a, b, c) SELECT a, b, c FROM source_table s
	WHERE s.my_col >= 10;
Posted by: Guest on May-02-2021
3

oracle insert into

INSERT INTO table
(column1, column2, ... column_n )
SELECT expression1, expression2, ... expression_n
FROM source_table
[WHERE conditions];
Posted by: Guest on March-30-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language