Join Same Table Results
-
Hello. I tried your plugin. Although it seems promising my custom query doesn’t work.
I try to join the same table with different alias names to show me the results i want.
In SQLyog software i have and phpmyadmin the query brings the data just fine.
One of the querries i use is this:
SELECT stock.meta_key, stock.meta_value, sync.meta_key, sync.meta_value FROM wp_postmeta AS stock
INNER JOIN wp_postmeta AS sync
ON stock.post_id = sync.post_id
WHERE stock.meta_key = ‘_stock’
AND sync.meta_key = ‘_sku’
AND LENGTH(sync.meta_value) = ’12’Does your plugin have this functionality?
Thank you.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Join Same Table Results’ is closed to new replies.