how to select single row from table and insert into same
table as a new record by using a single sql query.
Answer Posted / vipul dalwala
INSERT INTO table_name SELECT * FROM table_name WHERE
column_name = 'select condition';
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
armstrong number by using php while number is given by the keyboard.?
Define soundex()?
How to write in a file in php?
Is php used in 2019?
What is php and why we use it?
"mysql_fetch_row — Get a result row as an enumerated array",this sentence comes from the PHP offical manual.However ,i can not understand the words "enumerated array".I need some help.Thanks a lot to everyone that reply.
How check submit button is clicked in php?
What is the use of trim function in php?
Tell me what is the use of "enctype" attribute in a html form?
what is difference between PHP4 , PHP5
So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?
What is x+ mode in fopen() used for?
Is it worth learning php in 2019?
Can we run php in apache tomcat?
What are arguments in php?