2.Имеются данные x1,x2,x3...xN
y1,y2,y3...xN 3.Математическая формулировка данных
4.Алгоритм обработки
SELECT
(-SUM(y*y)* SUM(x*y)+SUM(y)*SUM(x*y*y))/(-COUNT(N)*SUM(y*y)+SUM(y)*SUM(y))AS A ,
-(-COUNT(N)*SUM(x*y*y)+SUM(x*y)*SUM(y))/(-COUNT(N)*SUM(y*y)+SUM(y)*SUM(y)) AS B
FROM
Справочник.Summa