Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: kiblinger
  • Content: Threads
  • Order by date
  1. kiblinger

    query with group by

    I have some data in a table in an MDB and I am building a query in MS Access. Seems simple but so am I :) I have a structure that is essentially always like this for all my records (A-F in this simplified sample): SPU1 SPU2 A 1 NULL B 1 NULL C 1 2 D...
  2. kiblinger

    Inner Join and Count question

    My database is named "pugetsound." What I want to do, conceptually: 1. Select all records with PLACE = XYZ. 2. Count how many of those selected records have XWALK = A or B or C. 3. If that is 2 or more, update the EPU_Flag field with a '1' for all those records where PLACE = XYZ. This almost...
  3. kiblinger

    Update and Count question

    I know I have the syntax totally wrong. I want to do something like: UPDATE Flag = 1 FROM Dataset WHERE ("Label" = 'XYZ' AND COUNT ("Type" = 'A' OR "Type" = 'B' OR "Type" = 'C' OR) >= 2) What I want, conceptually: 1. Select all records with Label = XYZ. 2. Count how many of those selected...
  4. kiblinger

    simple select distinct query question

    SQL newbie. Can't think how to search for this so I'll just ask in hopes that someone is patient enough to answer: In a table called "products" I have 2 fields: item_code menu_name 1 chairs 2 chairs 3 tables 4...

Part and Inventory Search

Back
Top