mysql - Getting a result that matches one column with another -
Hi, I am using mysql to be able to do a table with a column with a column and I need to give it to me. result.
I know that mysql has dropped, but I am using Bella mysqli, so I am currently using mysql as the basis for learning.
This is my statement
from SELECT `overview 'products where' overview '=` image` is here:
Looks like my desk
id | Name | Image | Overview 91 | Product 1 | Product1.jpg | This product is an overview of 192. Product 2 | Product2.jpg | This is an overview of Product 2. If the result is in the same line then it should be the result of observing the image. The expected product will be:
This product is an overview of 1
This product is an overview of
I hope this makes sense.
I recommend you use the joining table:
In this way, you will only see the values of the 'overview' column that will match the values: 'PYPO products' from SELECT p.overview P2 ON p.overview = p2.image Image 'column's
Comments
Post a Comment