Use this tag for questions concerning INSERT, the SQL command which inserts data into a table using a SELECT query.
I have a query that inserts using a select: INSERT INTO courses (name, location, gid) SELECT name, location, gid FROM …
mysql sql insert-selectSay you have a table: `item` With fields: `id` VARCHAR( 36 ) NOT NULL ,`order` BIGINT UNSIGNED NOT NULL And: Unique(`id`) …
mysql uuid insert-selectI'm adding an 'index' column to a table in SQLite3 to allow the users to easily reorder the data, by …
sqlite insert-selectI am new in using stored procedures. I have this query that gets values from tables. After that, I need …
mysql sql sql-server stored-procedures insert-selectI REALLY review several times, that's the reason I am asking; looking for guidance... I have one table, as the …
sql sql-server sql-server-2012 insert insert-selecti want to put calory as the first value of fruits, i couldn't do it, can anyone help? $sql = 'INSERT …
php codeigniter insert-selectProblem: I have a MySQL stored procedure and I want to reset a user variable to 0 each time the procedure …
mysql sql stored-procedures insert-select user-variablesI have a row of data in a table: Key | Val1 | Val2 ----+------+----- 1 | A | B I would like …
sql insert-select