title: Insert specific range in google sheets to MYSQL
body: <p>I have a simple table in a sheet (from A1 till B9)</p>
  
  <pre><code>try1    try0
  try3    try3
  try5    try5
  try7    try7
  try9    try9
  try11   try11
  try13   try13
  try15   try15
  try17   try17
  </code></pre>
  
  <p>I am using a script to insert the records to a mysql table.</p>
  
  <pre><code>function MysqlData() {
     var conn = Jdbc.getConnection('jdbc:mysql://mysite/myddb', 'user', 'pwd'); 
    var stmt = conn.createStatement();
    var sheet = SpreadsheetApp.getActiveSheet();
    var data = sheet.getDataRange().getValues();
  
    for (var i = 0; i &lt; data.length; i++) {
    var sql = "INSERT INTO test (field1, field2) VALUES ('" + data[i][0] + "'," + data[i][1] + ")";
    var count = stmt.executeUpdate(sql,1)
    }
  
    stmt.close();
    conn.close();
  }
  </code></pre>
  
  <p>when executing this script on the page including the table, i get the error : </p>
  
  <blockquote>
    <p>Unknown column 'try0' in 'field list'</p>
  </blockquote>
  
  <p>What is wrong in my code?</p>