I have a list as follows -
List<String> Friends = ImmutableList.of("Ross","Joey","Chandler");
And the following query-
Select * from EmployeeTable where name IN ('%1$s');
I am trying to figure out a way to insert this list into the query using String.format() in JAVA.
I want the query to eventually look like -
Select * from EmployeeTable where name IN ('Ross','Joey','Chandler');
Please Help me out