Question: Write appropriate SQL statement to display unique name with the latest or current effective date and factor for given material. Solution: Currently when typing: SELECT

Write appropriate SQL statement to display unique name with the latest or current effective date and factor for given material. Solution: Currently when typing: SELECT NAME, EFFECTIVEDATE, FACTOR, MATERIAL FROM VW_MATERIAL ORDER BY NAME, MATERIAL, EFFECTIVE DATE DESC It returns records with duplicates (assume there's multiple names used and only 2 materials)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
