By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,476 Members | 889 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,476 IT Pros & Developers. It's quick & easy.

Excluding data from a query?

P: 1
This might be total newbie, and I apologize if it is, but it is making me insane.

I have a database with lots of tables, queries and reports (someone else made the database and I am now taking over and tweaking for customers).

Table contains student's grades, addresses, etc.
Customer wants an existing query to exclude all "w" grades.
The query uses several different tables, but the table containing grades is 'utbldefdata'.

Anyhow, in the query under grades (next to criteria) I write Not "w".
It runs once OK, but then I run it a second time and it shows me the 'w' grades again. Also, the word "Not" changes to "<>"

Any ideas?

Help!

Thanks!
Oct 6 '06 #1
Share this Question
Share on Google+
1 Reply


P: 30
SELECT * FROM utbldefdata WHERE grades <> 'w'
Oct 6 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.