I have five columns and i want to search data from five columns but column values can be more than 5, its not fixed.
Example
column name
first-name,last-name,subject,result,grade.
I want to search more-than one value using sqlite.(first-name can be a,b,c,d)
How to achieve this??
Any help would be appreciated.
Using
INkeyword in SQLite would allow you perform search with a set of multiple values. For example:Now what you can do is to build an input (searchable words) parameter using any loop and replace it in the
INbrackets.For example:
With multiple columns: