Hi AllHoping someone might be able to help me solve the below script. I am trying to find books which have the same title and publisher name as at least two other books and need to also show the book ref (ISBN number). I have the below script so far:SELECT isbn, title, publishernameFROM bookWHERE title in (SELECT title FROM book GROUP BY title HAVING count(title)>2 or count(publishername)>2) order by title;This is a snap shot of the output: ISBN Title Publishername 0-1311804-3-6 C Prentice Hall* 0-0788132-1-2 C OSBORNE MCGRAW-HILL* 0-0788153-8-X C OSBORNE MCGRAW-HILL* 0-9435183-3-4 C Database Development MIS* 1-5582806-2-6 C Database Development MIS* 1-5582813-6-3 C Database Development MIS* 0-0788165-4-8 C++ OSBORNE MCGRAW-HILL 9-9913649-9-4 C++ Prentice Hall* 9-9922679-5-X C++ OSBORNE MCGRAW-HILL* 0-0788164-9-1 Clipper Programming OSBORNE MCGRAW-HILL* 0-0788175-8-7 Clipper Programming OSBORNE MCGRAW-HILL 0-8306354-2-4 Clipper Programming Windcrest 0-8306854-2-1 Clipper Programming Windcrest* 9-9911163-6-2 Clipper Programming OSBORNE MCGRAW-HILLWhat I should be seeing is only the ones I have put an * next to. What am I missing from the scrip?Any help would be appreciated, I am new to SQL and this is driving me mad.
↧