Null Value Query

Z

zyus

I hv this sample data in my table

Name PropNo RegNo Type
Mr A 123 null Steel
Mr B null 456 Wood
Mr C null null null
Mr D 789 999 Chrome

How to find record with null value in the PropNo/RegNo/Type field. In this
example records that i want are from Mr A,B and C

Thanks
 
I

Irene

hi zyus,

u try to type this sql:

SELECT Table1.Name, Table1.PropNo, Table1.RegNo, Table1.type
FROM Table1
WHERE (((Table1.PropNo) Is Null)) OR (((Table1.RegNo) Is Null)) OR
(((Table1.type) Is Null));

it should be can get the result as u want. the Table1 means your table name.
so u change the table1 to your table name. then can be run.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top