My User Table is :
ID. NAME. EXPERTISE
1. Aman. 1, 2
2. Deep. 2, 3, 4
3. Singh. 1, 3
Question: I want to apply search operations on Expertise. Query and Results both should be comma separated. Like Search Users who is having EXPERTISE (2,4). How I can Write query in MySQL.
Then response should be ID -> 1,2
INPUT - > Select ID from User where EXPERTISE (2,4)
OUTPUT -> ID (1,2)
ID
1,2