Drupal uses table aliases in the views preview query. It gets replaced before the actual query is sent to the database. The alias part is {node}
, which points to the node table in database, but adds the table prefix that you entered during site installation. If you did not use a database prefix then just remove the {node}
part of the query. If you did, then you should replace the {node}
with prefix_node
.
So without prefix it should be:
SELECT node.title AS node_title, node.nid AS nid, node.created AS node_created, 'node' AS field_data_field_descrizione_node_entity_type, 'node' AS field_data_field_web_node_entity_type, 'node' AS field_data_field_logo_node_entity_type
FROM
node
WHERE (( (node.type IN ('collaborazioni')) ))
ORDER BY node_created DESC
And with prefix it should be (replace the "prefix" part of the query with the prefix you used of course):
SELECT node.title AS node_title, node.nid AS nid, node.created AS node_created, 'node' AS field_data_field_descrizione_node_entity_type, 'node' AS field_data_field_web_node_entity_type, 'node' AS field_data_field_logo_node_entity_type
FROM
prefix_node node
WHERE (( (node.type IN ('collaborazioni')) ))
ORDER BY node_created DESC