It looks like someone creates a SQL condition on-the-fly and the idea is that the final sql statement will contain a condition like the
... AND c.Customer LIKE 'VariableValueGoesHere' ...
The two apostrophes will translate to a single apostrophe and the third ones stops/starts the string literal.