Jump to content



Recommended Posts

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...