Dynamic SQL to calculate colums without knowing their number

welcome to shbcf.ru