Hi sql gurus,I am stumped and really hope someone can help out, i've the following query:select count(gb.ean13) as one, count (gb2.ean13) as two, gb.title,gb.category,gb2.category,gb.ean13from table1 GBinner join table2 GB2 onGB.ean13 = GB2.ean13where gb.category in ("tv")and gb.title = gb2.titleand gb2.category in ("dvdplayers")and gb.cc = "gb"and gb2.cc = "gb"group by gb.title,gb.category,gb2.category,gb.ean13the results i'd want to see is:one|two|title|category|category|ean134|2| |sonytv| tv| dvd players| 10021545445meaning there are 4 "sonytv" in the TV category and there are 2 "sonytv" in the DVD player category...I hope that makes sense?I just cannot for the life of me get the count to work, hence signing up in hope that someone can help me Thank you