Move sql from Console to ProgrammatieDAO