how to select single row from table and insert into same
table as a new record by using a single sql query.
Answers were Sorted based on User's Feedback
Answer / vipul dalwala
INSERT INTO table_name SELECT * FROM table_name WHERE
column_name = 'select condition';
Is This Answer Correct ? | 11 Yes | 3 No |
Answer / sonal shah
we cannot insert into a table and select from the same table
Is This Answer Correct ? | 2 Yes | 3 No |
What is php artisan tinker?
how to run PHP in command line?
8 Answers InfoShore, Ramp Green, Xtreeme,
What does pear stand for?
How can we create a database using PHP and mysql?
4 Answers Rushmore Consultancy,
How to get total number of elements used in array?
What is in php 7?
Should I use mysqli or pdo?
Will a comparison of an integer 12 and a string "13" work in php?
What is difference between web service and api?
what is CURL?
What is query string php?
Explain the three different kinds of Arrays?