I have five tables "ArtBook,Eng,comm,Law,mgt" and every table has a same column and i want to be search all the information that particular book by its id e.g-
select * from ArtBook,Eng,Comm,Law,mgt where @BookId=ArtBooks.BookId
or @BookId=CommBooks.BookId
or @BookId=Eng.BookId
or @BookId=Law.BookId
or @BookId=mgt.BookId
UNION ALLrather than aJOINbut it doesn't seem like the correct structure to me. Why not one table for books with either a column for genre or a separate junction table if you want to allow for books that span multiple genres.