task1: moved sql into separate file