0
Hello! In my product table and in the promotion table are idcategory, I have my product with a certain category and when I find the same idcategory in the promotion table and this is with active status, return the value of the promotion discount (promotion table). It is possible to do in a query?
Search by Outer Join https://pt.wikipedia.org/wiki/Join_(SQL)#Jun%C3%A7%C3%A3o_externa_(outer_join)
– Motta
This answers your question? What is the difference between INNER JOIN and OUTER JOIN?
– Icaro Martins