とがその特定のレコードを持っているときに、RepDailyInfoテーブルから日付を取得しようとしています。これはSQLServer2005で可能ですか?RepDailyCollection.IsReceived = 0RepDailyCollectionRepDailyInfoID
Select distinct RepDailyInfo.Date
from RepDailyInfo
left outer join RepDailyCollection c
on c.RepDailyInfoID = RepDailyInfo.RepDailyInfoID
where c.IsReceived = 0
or c.IsReceived = null