Hello,

I'm new to Sequel and having trouble getting it to produce the following 
SQL.

SELECT id, name, ( 3959 * acos( cos( radians(PLACEHOLDER) ) * cos( radians( 
latitude ) ) * cos( radians( longitude ) - radians(PLACEHOLDER) ) + sin( 
radians(PLACEHOLDER) ) * sin( radians( latitude ) ) ) ) as distance from 
chapters order by distance

Can anyone help?
 

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to