I have a column url where all the values are urls. I\'m trying to update the value of a different column where-ever the aforementioned url ends with .pdf
url
.pdf
So it looks like you are looking for the like parameter.
for example:
SELECT column(s) FROM table WHERE URL LIKE '%.pdf'
Or you can update with
UPDATE table SET column = value, ..., WHERE URL LIKE '%.pdf'
The % is like saying anything before the .pdf is htis case.
Hope this helps.