Hi,
I have a SQLite database that has a Table in it which has a column namd 'Room'. There are many rows in the table each of which has a 'room'. Some of the rooms are different like Bedroom, Lounge etc but there can be multiple occurances of a room such as Lounge.
I now have a ListActivity which is bound to the daabse and displays all of the Rooms. However I only want it to diplay each type of room once. So even if there are 30 occurances of 'Lounge' I only want it displayed once in the listview.
Any ideas on an easy way of doing this? I know in SQL you can do a Select Distinct but i'm not sure if here is an equivilent in SQLite. Either that or I guess it will be a case of parsing the results and removing duplicates somehow.
Thanks,
Matt.



