I have a Table:
| USERNAME | FORNAME | SURNAME | TELNUMBER | ZIPCODE ....
and I want to search username forename and surname in 1 query / statement .. and I don’t want multiple lines ..
like.. lets say ..
username : maria33
forname : maria
so this should be 1 row .. when I search mar%
and not 2!
As a prepared statement:
Then if you fill in all three parameters with the same string,
"%mar%":You’d end up with this SQL statement: