Adobe AIR includes the capability of creating and working with local SQL databases. Many stand SQL features are supported in the runtime, open source SQLite system can be used for storing local, persistent data.
The flollowing is a simplistic example that create a sqlite database, add, get, update and remove records from the “user” table.