[redes] SQL 30-10

  • From: Gustavo O Ph <gustavoph80@xxxxxxxxx>
  • To: redes@xxxxxxxxxxxxx
  • Date: Wed, 30 Oct 2013 08:59:06 -0200

1 ao 4

select (vtc.cod_cidade) as "Código",
  upper(vtc.nome_cidade) as "Cidade"

from  vtcidade vtc

where (vtc.cod_cidade > 10 and vtc.cod_cidade < 50)
and    vtc.nome_cidade like '%a%'
order by vtc.nome_cidade asc

Other related posts: