Jump to content

Insert into


tta013

Recommended Posts

Hello there,

 

I am a new bie here...

 

 

I was wondering how I could transfer the data from one table to another. I tried with the following but giving me an error message. Was wondering what I did wrong.

 

SELECT * FROM `tbl_temp` WHERE 1

INSERT INTO `tbl_temp` ( `booking_id`, `club_id` )

SELECT 'Booking' ('booking_id`,'club_id`)

FROM 'Booking'

 

Thanks,

Link to comment
https://forums.phpfreaks.com/topic/118760-insert-into/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.