// Set the query to run var mySQL = myConn.cursor('SELECT name,title FROM employees'); // Iterate through the results and write them to the page. while(mySQL.next()){ write(mySQL.name + ': ' + mySQL.title + '
'); }