Skip to main content
added 5 characters in body
Source Link

The right Syntax for your query is:

INSERT INTO courses (name, location, gid) SELECT (name, location, gid) FROM courses WHERE cid = $cid 

The right Syntax for your query is:

INSERT courses (name, location, gid) SELECT (name, location, gid) FROM courses WHERE cid = $cid 

The right Syntax for your query is:

INSERT INTO courses (name, location, gid) SELECT (name, location, gid) FROM courses WHERE cid = $cid 
Post Undeleted by Martin Rafael Pérez Lara
Post Deleted by Martin Rafael Pérez Lara
Source Link

The right Syntax for your query is:

INSERT courses (name, location, gid) SELECT (name, location, gid) FROM courses WHERE cid = $cid