How to get mysql data with ignore some value? The logic :
SELECT name,country
FROM person
WHERE name!=jonathan and name!=fedrick and country!=italy
How to get mysql data with ignore some value? The logic :
SELECT name,country
FROM person
WHERE name!=jonathan and name!=fedrick and country!=italy
As John Conde comment, you just need the quotes. You probably need quotes for string while integer can go without quotes.
SELECT name,country FROM person WHERE name!='jonathan' and name!='fedrick' and country!='italy'