Doubt in Sql Query

Jan 2 2007 1:01 AM
Respected Sir/Madam,
Thanks in Advance.
                          I want to find slope(x,y) and intercept(x,y) of two different set [ie.,(x,y)] of numbers.Is there any builtin functions in sql to find slope and intercept? 

by,
Helan