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 htmlspecialchars?
What is use of isset function in php?
What's the output of the ucwords function in this example?
What is difference between php and wordpress?
What is baseurl?
what is output of echo 1< 2 and echo 1 >2
8 Answers HCL, Navigators Software,
How can we create a database using PHP and mysql?
What is mem_cache ? How do you put a database query into that ?
Tell me what is htaccess?
what is the difference between mysql_fetch_array() and mysql_fetch_row()?
Different between the var_dump() and print_r()?
What is a simple php method to make a cross domain data request?