heshan Posted August 30, 2010 Share Posted August 30, 2010 Hi, i have a transaction table which includes following fields. tran_ID,account_number,account_type,transaction_type,amount,Date I want to know how these data can be retrieved and display in another table. The table is filled with several records. Thanks, Heshan Quote Link to comment https://forums.phpfreaks.com/topic/212064-problem-in-retrieving-data/ Share on other sites More sharing options...
RussellReal Posted August 30, 2010 Share Posted August 30, 2010 what do you mean.. insert the rows from that table to another one? INSERT INTO otherTable SELECT fieldname1 as field1, fieldname2 As field2 FROM transactionalTable WHERE id > 10; Quote Link to comment https://forums.phpfreaks.com/topic/212064-problem-in-retrieving-data/#findComment-1105175 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.