If I want to get multiple author in single for each title in pubs database. Is it possible using pivot? the table are joined with this query
SELECT CONCAT(a.au_fname,', ',a.au_lname) AS AUTHOR_NAME,
t.title
FROM titleauthor AS c
join authors AS a
ON a.au_id=c.au_id
join titles t
ON t.title_id=c.title_id;
This shows multiple author with multiple title but I want to have each title and all the authors mentioned in one row