How to pass a parameter in SQL statement in Springboot – Mysql
I have this code snippet which will delete all rows in the user_interests table. I have a parameter of int id which is user id. I want to pass this parameter to my SQL statement. I have tried using "....…