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 |
How arrays are used in php?
Do you know what is the function func_num_args() used for?
Why constructor is not overridden?
Can we extend multiple classes in php?
Why die is used in php?
Which of the data type is compound datatype supported by PHP?
when we use ob_start() function in php then the header() and session_start() does not gives the error like header already sent,please explain in brief
Where is session value stored?
Which is better php or wordpress?
When to use inquire vs enquire?
Who is the father of php?
Is null check in php?