Thanks for help from this group I'm using

"select word, count(word) as total from search_words group by word order by
total
desc limit 20"

to locate the top 20 words in a database of website search engine words.

The database had been altered to include an extra column, other than the
'word' column. This means that 'word' can now have a null entry sometimes.
How can I modify the sql query above to exclude any row(s) in 'word' with
'NULL' please?

regards, Graham
l


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to