Offline jQuery App in HTML5

Offline jQuery App in HTML5

Hi,

A noivice here....

I want to develop a application which is offline app developed using phonegap....

I have database of the app that i want to store it locally on device and need to access the sql database file from HTML using javaScript or HTML5 or PhoneGap...

Just need a way to access the database file which contains tables from HTML File ...

Thanks in Advance,