i need to write a query with "like" condition in a Query Unit.
For example i need to write SQL to count how many records of the table user has username field like '%ma%'
In MySQL DB the syntax is:
select count(*) from user where username like '%ma%'
Which is the syntax i need to write using an input parameter instead of 'ma' string in a "query unit" SQL query ?
Thanks