Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

multi row insert

insert into bricks (brick_id, colour)
  select toy_id, colour
  from   toys
  where  toy_id in ( 4, 5 );

select * from bricks
where  brick_id in ( 4, 5 );
Source by livesql.oracle.com #
 
PREVIOUS NEXT
Tagged: #multi #row #insert
ADD COMMENT
Topic
Name
8+1 =