I have a table of items each having a field called groupID. In the table, there are items having the same groupID but most have null groupIDs. I want to be able to do a SELECT query GROUPING the items by groupID and also want to return all items having null groupIDs. What happens is that all items with null groupIDs are grouped together. Does anyone know how to go around this.? appreciate any help.