I have one table like this:
And one like this:
What I want to do is select that "1" from status in the second table if the product_id number matches the number in the query column in the first table and is prefixed by product_id=. category_id and others should be ignored. Is something like this even possible?
Best Answer
I used Magier's example to come up with this:
which outputs exactly what I need.
Thanks for all the help everyone posted.