i am not sure whats the problem with mysql statement. The error says " IN is not valid at this position , expecting : EOF, ';'
Here is my sql statement:
CREATE VIEW collab AS
SELECT a.author_name AS Author, ca.no0fCollab
FROM (SELECT * FROM author) as a, (SELECT * FROM coauthors) as ca
WHERE a.author_id = ca.author_id
AND a.author_id IN (
SELECT UA.author_id
FROM uniq_authored UA JOING publication p
ON P.pubid = UA.pubid
WHERE (p.pubkey LIKE 'journals/%' OR p.pubkey LIKE 'conf/%')
AND p.title LIKE '%data%'
);