1
如何编写具有“计数”和“具有”属性的Drupal 7查询?
我无法在drupal7标准中使用以下查询。.有人可以帮助我吗?有点紧急... SELECT n.nid AS nid, n.title AS title, count(n.title) AS ncount FROM node n INNER JOIN taxonomy_index tn ON n.nid = tn.nid WHERE (n.type = 'test') AND (tn.tid IN( 23,37)) AND (n.title LIKE '%name%') AND (n.status = 1) GROUP BY n.nid HAVING ncount = 2