If I understand you correctly you want to select only if the entire sequence falls into the range. First you need to know the max and min date for each reference and then filter based on that. Assuming you are using SQL Server and have two parameters named @FromTargetDate and @ToTargetDate:
with cte1 as
(
SELECT TNARef, Min(TargetDate) AS MinDate, Max(TargetDate) AS MaxDate
FROM yourtable
GROUP BY TNARef
)
, cte2 AS
(
SELECT TNARef
FROM cte1
WHERE MinDate >= @FromTargetDate
AND MaxDate <= @ToTargetDate
)
SELECT *
FROM yourtable
WHERE TNARef IN (SELECT TNARef FROM cte2)
Of course the query could be structured differently and optimized, but I like to use CTEs because they are easier to follow.