Math Query Help

Поиск
Список
Период
Сортировка
От
Тема Math Query Help
Дата
Msg-id 20060509205936.31179.qmail@web33308.mail.mud.yahoo.com
обсуждение исходный текст
Список pgsql-novice
i'm trying to work out some match queries to find
yields.

this is what i want to do...

yield = pass / total:

(select count(inspect_pass) from t_inspect where
inspect_pass = true)/(select count(inspect_pass) from
t_inspect)

i get the following error:

ERROR:  syntax error at or near "/" at character 70

how can i fix this?

tia...

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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

Предыдущее
От:
Дата:
Сообщение: Math Operations - DB or App?
Следующее
От: George Weaver
Дата:
Сообщение: Re: Math Query Help