I use this code to search for Column A. What modification should I make if I want to search Column A and Column B simultaneously?
String sql = \"SELECT * FROM \"
You can use OR to connect two expressions. However, both must be complete expressions:
SELECT ... WHERE ColA LIKE ? OR ColB LIKE ? ...