This shows you examples of using JavaScript to create, insert, select, and delete data in a Web SQL database in a web browser. (code samples linked below--use view source on pages)
I have created separate html pages that each demonstrate the JavaScript and SQL code for doing something with a database table. One page creates a table, one page inserts data into that table, one page selects data from that table, and one page deletes data from that table. Each of these pages assumes that I am working with a table called customer.
1 Create Table:
https://www.dropbox.com/s/4w5x6yejq70...
2 Insert Row:
https://www.dropbox.com/s/qhju8t8cs1x...
3 Select Data:
https://www.dropbox.com/s/vggwup78wl7...
4 Delete Row
https://www.dropbox.com/s/cu75fh9wsko...
On this page of the site you can watch the video online Web SQL Database Mini Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Degan Kettles 15 May 2014, share the link with friends and acquaintances, this video has already been watched 13,095 times on youtube and it was liked by 37 viewers. Enjoy your viewing!