Jump to content

Edit History

ps8modules

ps8modules

E puoi darci l'output sql per entrambe le tabelle?

In sql cambia id_product = 1 al tuo da product.
Migliore per ID prodotto.

select a.id_image, a.cover, b.id_image as id_image_shop, b.cover as cover_shop 
from ps_image a 
left join ps_image_shop b on (a.id_image = b.id_image)
where a.id_product = 1;

Per esempio:

obrazek.png.60ee2677bd7f283cd1d9aaf240695e4d.png

 

ps8modules

ps8modules

E puoi darci l'output sql per entrambe le tabelle?

In sql cambia id_product = 1 al tuo da product.
Migliore per ID prodotto.

select a.id_image, a.cover, b.id_image as id_image_shop, b.cover as cover_shop 
from ps_image a 
left join ps_image_shop b on (a.id_image = b.id_image)
where a.id_product = 1;

 

ps8modules

ps8modules

E puoi darci l'output sql per entrambe le tabelle?
Migliore per ID prodotto.

select a.id_image, a.cover, b.id_image as id_image_shop, b.cover as cover_shop 
from ps_image a 
left join ps_image_shop b on (a.id_image = b.id_image)
where a.id_product = 1;

 

×
×
  • Create New...