[support] using drupal in mysql without subquery
Drupal Indonesia
support at drupal-id.com
Wed Oct 4 03:24:28 UTC 2006
In Drupal installation that using MySQL without subquery support, what is the
right sql statement for this query?
------------------------------------------------------------------
SELECT count(u.name)
FROM {users} u
WHERE u.uid IN (SELECT uid from {node} n where type='blog')
------------------------------------------------------------------
Above query is show number of users who whas written Blog.
More information about the support
mailing list