Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Monday, November 13, 2017

CASE statement and inner join giving duplicates

SQLServerCentral » Latest topics
CASE statement and inner join giving duplicates
Dear DBAs
I am using a CTE to get terminal locations from one table and then joining this CTE with 2 more tables to get the time and attendance from those tables.
The results appear fine when i use 2 tables but as soon as i join the CTE to the m

No comments: