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

plz help me in sql statement

P: 1
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
Share this Question
Share on Google+
1 Reply


ck9663
Expert 2.5K+
P: 2,878
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.