I have this query that shows me several records with the same name, I just want the Variable Name to appear only once for the repeated records, I know that it is with DISTINCT but it does not do anything
SELECT DISTINCT
IDVariable
, NombreVariable
, TipoDato
, NumeroDecimales
, ValorFijo
, Activo
, ValorIdentificadorVariable
FROM
VariablesFormula
WHERE
Activo = 1
AND
ValorIdentificadorVariable='1'