Posts by Alexandre Fernando Borges • 3 points
1 post
-
-3
votes2
answers81
viewsQ: How to use WHERE function in column created from a query?
select a.campo1, b.campo1,replace(replace(b.campo1,'-',''),'.','') as resultado from dbo.tabela1 a, dbo.tabela2 b where a.campo1 = resultado I am trying to select above, but it displays error…