adding ads in sql