Home » Tag Archives:mysqlmysql

Tag Archives: mysqlmysql

mysql – INSERT with SELECT

February 23, 2020 Javascript Leave a comment

Questions: I have a query that inserts using a select: INSERT INTO courses (name, location, gid) SELECT name, location, gid FROM courses WHERE cid = $cid Is it possible to only select “name,loca...