I want to write sql Query for unknown number of keywords. The keywords (tags) are stored in table like this
               column1    column2 
               item1      tag1
               item1      tag2
               item1      tag3
                 .         .
                 .         .
                 .         .
          
Now the user can enter any number of keywords to search against the table. if the and is used it will do strict search. if I use or it will search items that match only one keyword. I want query that dynamically shape itself and use maximum keywords given in the search if not all of them. 
Like a Vehicle is the item and It has the keywords. Car, Vehicle, conveyance, Cycle, Bike, truck. Now I want to enter the keywords Bike Cycle in the textbox so it should form the query to search the vehicle item.  
     
     
     
     
     
    