Page #65: SQL Statement is incorrect

You wrote:

db_query("SELECT title FROM node WHERE uid IN ($placeholders)", $uids);

but the correct statement is:

db_query("SELECT title FROM {node} WHERE uid IN ($placeholders)", $uids);

you've forgotten the curly braces.