I am going through some source code on the Pligg CMS right now, and in one of the SQL queries I ran into this bit of logic: AND user_level<>"god"; Code (markup): I get the general gist of this, the table value for user_level is relating to being equal to "god", but i'm not sure what the <> means. I assume it means "if user_level is NOT equal to 'god'", but I can't find any documentation on MySQL's website or through Google.
Correct, it's "not equal to". It's the same as typing != if you're more familiar with that. At least that's how it's been interpreted in every SQL server I've used so far
in the sql we can use the both signs for not equal to like <> and != both are equivalend and do the same function