Add sql in application