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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!