Jump to content

[SOLVED] Cant get this query, help please


Drewser33

Recommended Posts

Table fields are DeviceID and GuardID.

 

Existing in this table are a large number of rows with the same GuardID (49) and I would like to run an insert query to insert the same amount of rows with the same DeviceID's that will have a GuardID of 843.

 

This is what what makes sense to us but it is not working.

INSERT INTO DeviceGuard
SELECT DeviceID FROM DeviceGuard WHERE GuardID = 49 , 843

 

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/179666-solved-cant-get-this-query-help-please/
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.