Pollutant dict

SELECT 
    PD.id as opt_id,
    PollutantGroup as opt_key,
    PD.Label as opt_value,
    PD.Label as opt_text
FROM [IED].[DB_VERSION].[PollutantDict] as PD
LEFT JOIN  [IED].[DB_VERSION].[PollutantGroupDict] as PGD
ON PD.PollutantGroupId = PGD.Id
GROUP BY PD.id, PD.Label, PollutantGroup
ORDER BY opt_text

No data