jQuery doesn't deal with databases. Your server language does, or
your hybrid mobile platform (like, e.g.. PhoneGap) does.
We can help you with the jQuery part. jQuery $.ajax() can help with
sending the data to your server. It's role with regard to
databases ends there.
If you mention what language you use for your server programming,
perhaps somebody here can point you to a tutorial. If that language
happens to be ASP or .net, probably not, though. :(
But you should seek advice from some forum for the server language
you use.