Ho la seguente domanda:
SELECT
dashboard_data.headline,
dashboard_data.message,
dashboard_messages.image_id
FROM dashboard_data
INNER JOIN dashboard_messages
ON dashboard_message_id = dashboard_messages.id
Quindi sto usando un INNER JOINe afferrando il file image_id. Quindi ora, voglio prendere quell'immagine_id e trasformarlo in images.filenamedalla tabella delle immagini.
Come posso aggiungerlo alla mia domanda?