add Database and Query