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 gkittelson 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: *

  1. omegatemplar

    self-join or subquery

    Mark, INNER JOIN works on records that meet the conditions of the ON statement, these records are considered to be 'inside' the join. Hope this helps!
  2. omegatemplar

    Inner Join on multiple tables

    I have 20 or so tables which share one field. To start off on a low level I want to join all the fields of the tables on the common field, but I am having trouble getting rid of the common field being duplicated in the results SELECT * FROM table1 INNER JOIN table2 ON table1.a = table2.a Do I...
  3. omegatemplar

    Selecting rows that only contain TRUE values

    Ah, thats one solution that I know but what I am really trying to ask is that lets say I take a book name and I want to find out what genre(s) it is in, meaning I only want to list the columns in the row that have a true value without necessarily knowing the column names. SELECT * FROM Table...
  4. omegatemplar

    Selecting rows that only contain TRUE values

    I have a database with a 15 columns 1 is a title 14 other are true/false categories containing genre types For example: BookName | Scifi |Fantasy |Mystery Star Trek | True | True | False How would I select the book name and all the values that are true for that specific book so that I get...

Part and Inventory Search

Back
Top