Load nodes from specific content type
You should always enclose the table names with curly brackets. That way table prefix (if any) will be added automatically. It's better to use that way all the time.

This is how your query should look like:

SELECT nid FROM {node} WHERE type = 'page' ORDER BY created DESC.