how i seperate a data of one table using query, to another table?

G

Guest

i want to seperate a data like YES/No from one column of an Access Database
Table into two seperate columns of another Access Table viz. column 1-->YES
and Column 2---> NO
 
D

Douglas J. Steele

Rather an unusual thing to do, but try:

INSERT INTO Table2 (Field1, Field2)
SELECT IIf(Field1, Field1, Null), IIf(Field1, Null, Field1)
FROM Table1
 

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