cy163 0 Newbie Poster

Hello ALL,

I am new to MySQl. I am using MySQL ver 5.1.28
I have got two questions.
(1) Can I make a user-defined function return a tabular result.(say, a list of person name)

(2) Can I call the function in a select statement, like

SELECT * 
FROM 
        Employee_List LEFT JOIN Employee_WorkList 
    ON 
        Employee_List.Name = Employ_WorkList.Name 
WHERE 
        Employee_List.Name IN Tabular_Result_BY_UserFunction;
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.