Je kunt insert gebruiken met select en je shop_id opgeven in select statement
INSERT INTO menu_list_hed
(`menu_name`, `shop_id`, `menu category`)
select `menu_name`, '13' AS `shop_id`, `menu category`
from menu_list_hed where shop_id = 12
;
Je kunt insert gebruiken met select en je shop_id opgeven in select statement
INSERT INTO menu_list_hed
(`menu_name`, `shop_id`, `menu category`)
select `menu_name`, '13' AS `shop_id`, `menu category`
from menu_list_hed where shop_id = 12
;