Error SQL: Ha fallado la consulta SQL:
SELECT DISTINCT(LEFT(m.meta_value,16000)) AS pais,COUNT(p.ID)
FROM (wp_posts AS p,wp_postmeta AS m)
WHERE p.ID=m.post_id
AND p.post_type='pornostar'
AND p.post_status='publish'
AND m.meta_key='pais'
GROUP BY pais
ORDER BY pais ASC;
Error SQL: Ha fallado la consulta SQL:
SELECT DISTINCT(LEFT(m.meta_value,16000)) AS pais,COUNT(p.ID)
FROM (wp_posts AS p,wp_postmeta AS m)
WHERE p.ID=m.post_id
AND p.post_type='pornostar'
AND p.post_status='publish'
AND m.meta_key='pais'
GROUP BY pais
ORDER BY pais ASC;