Re: SQRT / Pythagoras Query problem
SELECT
b.T_Name as Attraction,
a.A_Name as Hotel,
a.A_Address as Address,
a.A_Postcode as Postcode,
a.A_Telno as Telno,
Round( SQRT( ((b.T_X_coord - a.A_X_coord) * (b.T_X_coord - a.A_X_coord)) +
((b.T_Y_coord - a.A_Y_coord) * (b.T_Y_coord - a.A_Y_coord))
), 2
) as Distance
FROM Accom a
JOIN ...
I do not understand mydb.Assign.Attract.
Subject
Written By
Posted
Re: SQRT / Pythagoras Query problem
May 16, 2014 03:14PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.