Below is the structure and relationships of my database.
I tried to use the code:
'SELECT 'cliente'.'Nome', 'produto'.'Descricao',
'contem'.'QuantItem'
FROM 'cliente', 'produto', 'contem'
INNER JOIN 'pedido'
ON 'cliente'.'Codigo' = 'pedido'.'Codigo'
INNER JOIN 'contem'
ON 'contem'.'numero' = 'pedido'.'Numero'
WHERE 'contem'.'Codigo' = 1;'
However, it displays the following error at run time: # 1066 - Table / alias 'contains' not unique.
I would like to know how I can correct and / or what I have to do so that I can show the desired result.
Thank you in advance for your cooperation.