by grouping book and author
Code
SELECT book_name,author_name,count(*) FROM books
GROUP BY book_name,author_name
HAVING count(*)>1
Login to rate this answer.
select book_name,author_name,count(*) from books
group by book_name,author_name
having count(*)>1
Login to rate this answer.
Avinash
Answered On : Jun 24th, 2012
select AUTHOR_NAME,BOOK_NAME from books101
where AUTHOR_NAME in
(select author_name from books101 group by author_name having count(*)>1);
Login to rate this answer.