Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

one to many sql

SELECT img.fileName
FROM image_table AS img
JOIN product_table prod ON prod.id = img.prod_id
WHERE prod.id = ID_THAT_YOU_WANT
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql
ADD COMMENT
Topic
Name
6+5 =