-1
I’m having difficulty creating a select that searches data in two tables, follows the description:
Tabela produto
(
id_produto,
nome_produto,
preco,
categoria
)
Tabela imagem
(
id_imagem,
id_produto,
nome_imagem,
caminho
)
A product can have several images, but what I need is to select 1 product and the first image of it because the first is the image to be used in advertising.
But he only wants the first.
– Diego Souza