man, I feel like a beginner ...

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема man, I feel like a beginner ...
Дата
Msg-id Pine.BSF.4.21.0009101938230.1305-100000@thelab.hub.org
обсуждение исходный текст
Ответы Re: man, I feel like a beginner ...
Список pgsql-hackers
someone notice anything wrong with this query? :) *slap forehead*

explain SELECT distinct s.gid, s.created , geo_distance(pd.location, '(-90.3690233918754,38.7788148984854)')   FROM
statuss, personal_data pd, relationship_wanted rw , personal_ethnicity pe , personal_religion pr , personal_bodytype pb
WHERE s.active AND s.status != 0    AND (s.gid = pd.gid AND pd.gender = 0)    AND (s.gid = rw.gid AND rw.gender = 1)
ANDgeo_distance( pd.location, '(-90.3690233918754,38.7788148984854)' ) <= 75
 
ORDER BY geo_distance( pd.location, '(-90.3690233918754,38.7788148984854)'),  s.created desc;


Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: PL/pgSQL does not accept none ASCII identifiers
Следующее
От: Tom Samplonius
Дата:
Сообщение: Row versioning in the ODBC driver...