Select Distinct@SelectDistLtd
Here is a simple FREE tool to save time if you need to re-format SQL code
Poor SQL - Instant Free and Open-Source T-SQL Formatting
Save your self hours of frustration with this timesaving tool
@PoorSQL
#SQL #SQLformat
011