adding .sql query