AddQueries for SQLite database