From: "Yu W." Date: 2013-03-01T09:08:14+09:00 Subject: How to translate the following sqlite3 insert statement into equivalent mysql insert statement sqlite3 insert statement: db.execute "INSERT INTO events(#{keys.join(',')}) VALUES (#{(['?'] * keys.size).join(',')})", *values I'm very confused about this part: (#{(['?'] * keys.size).join(',')})", *values how can I write a mysql insert statement that functions the same? Thanks a lot! -- Posted via http://www.ruby-forum.com/.