Answers for "insert statment sql"

SQL
2

insert into sql

-- if you want to insert values in all column
-- values must be assigned to that column
INSERT INTO table_name
VALUES 
	(value1, value2, value3, ...); 
-- 		^		 ^		 ^		^
--  (column1, column2, column3, ...)
-- the same arrangement
Posted by: Guest on October-22-2021
5

sql insert values into table

INSERT INTO table2
SELECT * FROM table1
WHERE condition;
Posted by: Guest on June-30-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language