Is there any difference between:
SELECT * FROM users WHERE username=\"davyjones\"
and
SELECT * FROM users WHERE username LI
create table A (id int,name varchar(30)) insert into A values(4,'subhash')
Use the trailing whitespace to search the name field:
select * from A where name='Subhash ' --Yields 1 row select * from A where name like 'Subhash ' --Yields 0 row