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 |
Could we start a variable with number like $4name?
What is good average session duration?
List the different types of print functions available in php?
Why do we use php?
Does php pass arrays by reference?
Write syntax to open a file in php?
What is the purpose of destructor ?
What is string function sql?
How to convert numbers to strings in php?
What is form validation in php?
What is php artisan serve?
What is the difference between php 5 and php 7?