Add custom SQL for SQLite