Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



how to select single row from table and insert into same table as a new record by using a single sq..

Answer / vipul dalwala

INSERT INTO table_name SELECT * FROM table_name WHERE
column_name = 'select condition';

Is This Answer Correct ?    11 Yes 3 No

how to select single row from table and insert into same table as a new record by using a single sq..

Answer / sonal shah

we cannot insert into a table and select from the same table

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More PHP Interview Questions

How arrays are used in php?

0 Answers  


Do you know what is the function func_num_args() used for?

0 Answers  


Why constructor is not overridden?

0 Answers  


Can we extend multiple classes in php?

0 Answers  


Why die is used in php?

0 Answers  


Which of the data type is compound datatype supported by PHP?

0 Answers  


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

2 Answers  


Where is session value stored?

0 Answers  


Which is better php or wordpress?

0 Answers  


When to use inquire vs enquire?

0 Answers  


Who is the father of php?

0 Answers  


Is null check in php?

0 Answers  


Categories