insert into <@PREFIX@>jshopping_products_images
(product_id,image_name ,name,ordering
)
values
( <@KEY@>,
'<@DEST@>',
'<@DEST@>',
<@SGROUP@>
)
@@GO@@
update <@PREFIX@>jshopping_products set image = '<@DEST@>' where product_id = <@KEY@>
and 1 = <@SGROUP@>
@@GO@@