Last active
August 29, 2015 13:57
-
-
Save roberto-filho/9914295 to your computer and use it in GitHub Desktop.
Query que busca os IPs dos ativos e suas respectivas localizações (servidor 192.168.0.106)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select a.*, | |
c.descricao, | |
l.nome | |
from componenteativo c | |
join ativo a on a.id = c.ativo_id | |
join localizacao l on l.id = a.localizacao_id | |
where c.componente_id = 23 | |
and a.ativado is true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment