0
I have a table with several cars, I need to get only the ones I need.
Example:
goal
fox
Parati
Kombi
Voyage
I want to catch only goal and Kombi.
I am using the following command to pick up where GOL value is in my table...
SELECT * FROM `volkswagen_base` WHERE link like '%gol%';
How do I pick up and display the goal and Kombi values?
But you do not need to use the LIKE. you can use the WHERE link = 'gol' AND or link = 'Kombi'
– Sr. André Baill
time my string is big like "asdasd/gol&123/dasjd"
– Charles Fay
Or if you use like, you can use WHERE link LIKE '%gol%' AND link LIKE '%Kombi%'
– Sr. André Baill
Try it this last way
– Sr. André Baill
thanks, it worked out
– Charles Fay
Okay, I posted the answer for you... If you can, give a OK
– Sr. André Baill
Check under the arrows ;)
– Sr. André Baill
Just to be clear @Charlesfay, even if the link string is large it can contain Gol and Kombi or just a two?
– cantoni
hello just out of curiosity the link is the column name?
– user67805