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 the default method of form in php?
How do I sort numbers in php?
What is a persistent cookie in php?
Can you define an argument as a reference type?
How does php serialize work?
What is the importance of php?
What is the use of mysqli_real_escape_string() function?
What does $globals mean?
write a program to print [123] [456] [789] note : braces also need to be printed
what is the default session expire time in php? what is default file attachment size in mail in php?
write function of the sentence traversal passing the parameter, e.g input:this is input sentence. output:sentence input is this.
What's the output of the ucwords function in this example?