SELECT Tabela.ID_Podatok, Tabela.Data, [Brojcanik]-100 AS Brojcanik1, (SELECT sum(Brojcanik-100)as b2 FROM Tabela as T2 WHERE T2.id_podatok