How can I write an MySQL query to fetch the data from database based on comma separated values provided at runtime? PS: ignoring order of precedence for comma separated values.
I have tried with Like operator but it didn't gave me accurate result. Also tried IN operator but it didn't work at all.
SELECT * FROM Candidate_Table WHERE Key_Skills LIKE ? AND Key_Skills LIKE ? AND Key_Skills LIKE ?;
Expected Result: the query should result accurate values that matches the input values. Input values: Java, C, HTML5
F_Name L_Name Mobile Key_Skills Experience City
---------- ---------- ---------- ---------- ---------- ----------
Tim Johnson 5525365 C, Java, Python, HTML5 3 years Orlando