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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)