in this case there are 2 tables which is products and images table. what i want to do is select all the product from product table where condition(a column of product table) is "used" and inner join images using product-name(colomn of products and images table -foreign key)
i have tried using selct all, inner joint and where clause.
(
"SELECT * FROM products
p "
where condition="used"
- "INNER JOIN
images
i " - "USING (
product-name
) "
)
product-name
isproduct
minusname
. Welcome to SO @s.am.i. Precise questions get much better responses, don't be put off, keep asking but improve the clarity. – danblack