REGISTER or login:
Can you make you question a little clearer?
I do not understand "only thn whts the query"
If you want to find every row that has 'XYZ' anywhere in the column MyColumn
Select * from Myfile where mycolumn like '%XYZ%'
.. the % signs are wild cards so it any value followed by XYZ followed by any value.