SELECT l.areasymbol AS Area_symbol, l.areaname AS Area_name, musym AS Map_unit_symbol, mu.mukey AS MUKEY,
compname AS Component,comppct_r AS Component_percentage, coe.ecoclassid AS Eco_class_ID, coe.ecoclassname AS Ecosite_class_name
FROM sacatalog AS sac
INNER JOIN legend AS l ON l.areasymbol = sac.areasymbol AND l.areatypename = 'Non-MLRA Soil Survey Area'
INNER JOIN mapunit AS mu ON mu.lkey = l.lkey
INNER JOIN component AS c ON c.mukey = mu.mukey
LEFT OUTER JOIN coecoclass AS coe ON c.cokey = coe.cokey
WHERE majcompflag = 'Yes' AND sac.areasymbol LIKE
'WA001'
ORDER BY l.areasymbol, musym, compname, comppct_r DESC