Go Back   Talk Microsoft > Microsoft Operating Systems & Software > Microsoft Office Family

Reply
     How do i make a Query in Microsoft Access that shows A or B not A and B?  
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-08-2007, 04:33 PM
Junior Member
 
Join Date: Nov 2007
Posts: 3
Default How do i make a Query in Microsoft Access that shows A or B not A and B?

example question: Make a Query that looks for all widgets that are either Green OR Fuzzy. Show all fields in the answer.
Reply With Quote
Links
  #2 (permalink)  
Old 11-08-2007, 04:33 PM
Junior Member
 
Join Date: Nov 2007
Posts: 2
Default

Select * from yourtable where searchfield = 'Green' or searchfield = 'Fuzzy'

hope this helps..
Reply With Quote
  #3 (permalink)  
Old 11-08-2007, 04:42 PM
Junior Member
 
Join Date: Nov 2007
Posts: 2
Default

select * from widgetsTable where widgetsColor='Green' or widgetsColor='Fuzzy'
Reply With Quote
  #4 (permalink)  
Old 11-08-2007, 05:00 PM
Junior Member
 
Join Date: Nov 2007
Posts: 5
Default

select * FROM widgets where something = 'green' or something = 'fuzzy'
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:12 PM.