title: Websql Insert Query
body: <p>I am new websql.i cannot insert primary key in websql.</p>
  
  <p><strong>Create Query</strong></p>
  
  <pre><code>db.transaction(function (tx) {
          var sql =
           "CREATE TABLE vehicles ( "+
          "id integer primary key autoincrement,"+
          "vehicle_ref_no VARCHAR(255),"+
          "vehicle_plate_no VARCHAR(255),"+
          )";
  
          tx.executeSql(sql);
  
      });
  </code></pre>
  
  <p><strong>Insert Query</strong></p>
  
  <pre><code> db.transaction(
          function (tx) {
              tx.executeSql(
                  "INSERT INTO vehicles VALUES (?, ?)",
                   [data.vehicle_ref_no, 
                   data.vehicle_plate_no, 
  
                   ],
                  function (tx, result) {
                      console.log("Query Success");
                  },
                  function (tx, error) {
                      console.log("Query Error: " + error.message);
                  }
              );
          },
          function (error) {
  
              console.log("Transaction Error: " + error.message);
          },
          function () {
              console.log("Transaction Success");
          }
      );
  </code></pre>
  
  <p>This code doesnot add the autoincrement value ,Any ideas?
  Is there any good method for doing this other than what i do? </p>