468,242 Members | 1,456 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,242 developers. It's quick & easy.

plz help me in sql statement

hi

i have one table which included 4 fields


field1 field2 field3 field4

a b null null

a c null null

null null a b



what is the statement which give me the value which in field1 and field1 but not in field3 and field4


result like this


field field2

a c


plz help me in this statement
Oct 10 '08 #1
1 947
ck9663
2,878 Expert 2GB
Sounds like an assignment...

Here are some sample SELECT statements.

-- CK
Oct 10 '08 #2

Post your reply

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

Similar topics

28 posts views Thread by Fábio Mendes | last post: by
13 posts views Thread by eman1000 | last post: by
37 posts views Thread by Steven Bethard | last post: by
18 posts views Thread by Steven Bethard | last post: by
28 posts views Thread by Steven Bethard | last post: by
7 posts views Thread by Steven Bethard | last post: by
18 posts views Thread by dspfun | last post: by
23 posts views Thread by florian.loitsch | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.