Can I have a table cell in a view that has an array of rows or even columns from a table.
Is this possible in mysql or will one have to do another query on the webpage?
CREATE VIEW booksview
AS SELECT
Authors
.id
AS id
,
Authors
.name
AS name
,
(select book from books WHERE authorId = id) AS authorsBooks
,
Authors
.Lastname
AS Lastname
,
FROM Authors
;
my sql sais "Operand should contain 1 column(s)". Suggesting there is a limit to one value. Is it possible to get the data returned even as a string or something in the view cell?