Guest User

Untitled

a guest
Jul 16th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. SELECT node.nid AS nid,
  2. node.created AS node_created,
  3. node.title AS node_title,
  4. node_counter.totalcount AS node_counter_totalcount,
  5. node_data_field_aflv_programma.field_aflv_info_value AS node_data_field_aflv_programma_field_aflv_info_value,
  6. node.type AS node_type,
  7. node.vid AS node_vid,
  8. node_data_field_aflv_date.field_aflv_date_value AS node_data_field_aflv_date_field_aflv_date_value
  9. FROM node node
  10. LEFT JOIN content_type_aflevering node_data_field_aflv_programma ON node.vid = node_data_field_aflv_programma.vid
  11. LEFT JOIN node_counter node_counter ON node.nid = node_counter.nid
  12. LEFT JOIN content_field_aflv_date node_data_field_aflv_date ON node.vid = node_data_field_aflv_date.vid
  13. WHERE (node.type in ('aflevering')) AND (node.status <> 0) AND (node_data_field_aflv_programma.field_aflv_programma_nid = 225)
  14. GROUP BY nid
  15. ORDER BY node_data_field_aflv_date_field_aflv_date_value ASC
Add Comment
Please, Sign In to add comment