Andreamcc
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Andreamcc
-
-
Hi All, As the title says I am hoping to find out how i can write sql code that will return any words that have the characters 'an' in them but not return the word 'and' as well. I can manage to get all words with an by using %an% but it is also returning the word 'and' along with it. Can anyone help?
Thanks
SQL Like and NOT LIKE
in SQL
Posted
Hi All, I am wondering if someone could help me figure out some SQL code.
For an assignment question on a SQL database i need to return any names which have 'an' in them e.g Andy but I don't want to return any names with and e.g Jones and Co.
I understand the like '%an%' but it is also returning the 'and' strings. How can I get around this?
Many thanks