-1
Let’s see if I can explain at first...
have two tables [topics] and [notification]
I joined these tables with INNER JOIN to get the data of both, so far so good...
but when I need to select the [id] of the [notification] table in while, but only return me the [id] of the [topic] table, how can I recover the id of both in that select?
Follow my SELECT:
SELECT notification.*, topicos.* FROM notification INNER JOIN topicos ON notification.user = "USUARIO_TAL"
the primary key of the two tables is
id
?– novic
yes the primary key of the two is [id].
– José Roberto Juliana