
07.07.2011, 12:21
|
Прохожий
|
|
Регистрация: 06.07.2011
Сообщения: 4
Репутация: 10
|
|
Вот мой SQL
Код:
select
(select count(template_id) from os_eqm.devices where template_id <>0)+
(select count(def_monitoring_type)from devices_active where nvl(def_monitoring_type,0) <> 0)
from dual
|