Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Sorting by a column when the name is derived via a CASE statement

$
0
0
Hi everyone

I have created the following SQL statement which works fine. However, it would definitely be beneficial if I could include [current age] in the WHERE part of the script.

If I simply add this into the WHERE clause (i.e. WHERE

Viewing all articles
Browse latest Browse all 3145

Trending Articles