• + 2 comments

    I keep getting this error, eventought the output is correct.

    SQL0440N No authorized routine named "CONCAT" of type "FUNCTION" having compatible arguments was found. SQLSTATE=42884 SQL0440N No authorized routine named "CONCAT" of type "FUNCTION" having compatible arguments was found. SQLSTATE=42884

    This is my query: SELECT CONCAT(NAME,'(',LEFT(Occupation,1),')') FROM OCCUPATIONS ORDER BY NAME;

    SELECT CONCAT('There are a total of',COUNT(OCCUPATION),' ',LOWER(Occupation),'s') FROM OCCUPATIONS GROUP BY OCCUPATION ORDER BY COUNT(OCCUPATION), OCCUPATION;