> requires square root and I'm not sure if I can do this with sqlite.  
> Something like:
>
> SELECT PlaceName, sqrt((PlaceX - 1)^2 - (PlaceY - 3)^2) AS  
> DistFromHome
> FROM Table WHERE PlaceGroup = 3;

I was going to suggest using "^ 0.5" for square root, but now I see  
that SQLite doesn't even support the "^" power of operator. Surely  
this is a fundamental requirement of any syntax that supports basic  
maths like addition, multiplication etc.

Can/will the power operator be added to SQLite?

Thanks,
Tom
BareFeet
  --
Comparison of SQLite GUI tools for Mac OS X:
http://www.tandb.com.au/sqlite/compare/?ml

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to