MySQL - how to use wildcards in WHERE clause for the column names themselves? [closed]
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I've got a basic question about mysql. In my table 'table' I've got a column named 'foo' (String). And I'd like to do something like this: SELECT * FROM table WHERE %foo% LIKE '%thing%' But it's obviously