Add methode to generate SQL for training session...