select * from table where column = value ^ column2= value

The query would be –

Select * from user WHERE (mail = 'user' or phoneNo= 'user' or username = 'user') and password = 'pass'

Or

Select * from user WHERE 'user' in (mail, phoneNo, username) and password = 'pass'

Leave a Comment