title: error executeSql
body: <p>I have received message "could not prepare statement" when try execute a select below
  What is wrong my tx.executeSql?
  What is correct syntax for executeSql?</p>
  
  <pre><code>var DB;
  var tx;
  var sql = "select nome from LivroDaBiblia;";
  $(document).ready(function () {
      try {
          if (window.openDatabase) {
              DB = window.openDatabase('Biblia', '', 'App Database', 1000000, errorHandler);
              DB.transaction(function (tx) {
                  tx.executeSql(sql, [], function (trx, result) {
                  }, errorHandler);
              });
              function errorHandler(transaction, error) {
                  alert('Oops. Error was ' + error.message + ' (Code ' + error.code + ')');
                  return false;
              };
  
          }
      } catch (e) {
          // Error handling code goes here.
          if (e == 2) {
              // Version number mismatch.
              alert("Invalid database version.");
  
          } else {
              alert("Unknown error " + e + ", please contact your local   ntative.");
          }
      }
  
      DB.close();
  
  }); // JavaScript Document
  </code></pre>