Skip to content
Advertisement

MYSQL Query Mass Pump

JavaScript

The query works, but I want to modify this

JavaScript

I want to “mass pump” data into coupon_cat. I need to pump from category 30-180, but in different lines. Any idea how to do it ?

Advertisement

Answer

If I understand you clear you want to insert the same coupon_id to 150 category ids. You can insert all the rows in one query using loop to create all the values.

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement