Hi,
I am using the following query
select SS.sightseeingId, SS.SightseeingName, SS.displayPrice, SST.fromDate
from tblSightseeings SS inner join
tblSightseeingTours SST on SS.sightseeingId = SST.sightseeingId
where SS.isActive = 1 and SS.isDisplayOnMainPage = 1
and getting result like this
2 Dinner Cruise Bateaux London (Premier) 40 2009-04-01 00:00:00.000
2 Dinner Cruise Bateaux London (Premier) 40 2009-12-29 00:00:00.000
30 Jack The Ripper, Ghosts and Sinister 35.1 2009-04-01 00:00:00.000
30 Jack The Ripper, Ghosts and Sinister 35.1 2009-10-01 00:00:00.000
40 Grand Tour of London 0 2009-05-01 00:00:00.000
40 Grand Tour of London 0 2010-05-01 00:00:00.000
87 Warwick, Stratford, Oxford and The 25 2009-04-01 00:00:00.000
87 Warwick, Stratford, Oxford and The 25 2009-11-01 00:00:00.000
i want to display the unique records 2 one time 30 one time 40 one time. The duplicate records are due to this SST.fromDate. How do i correct my query??
Any help please....