1
I’m having a problem doing a mysql query. I want to select the id and name of everyone present, except those already in the booking table.
SELECT DISTINCT
tb_presentes.id_presente AS value_id,
tb_presentes.nome AS label
FROM
tb_presentes
INNER JOIN
tb_reserva
ON
tb_presentes.id_presente <> tb_reserva.id_presente
WHERE
tb_presentes.id_cat_presente = 2
ORDER BY
value_id
Man... thanks bro. Thank you so much for your help!!!
– Cleber Lee Rocha