Re: Query help (brain went on strike)

From: Guy Bassan <gbassan_at_unm.edu>
Date: 1996/08/08
Message-ID: <320A350E.167EB0E7_at_unm.edu>#1/1


For the case with two criteria (cancer and skin, for example), you could do this:

    SELECT x.id, x.keyword
    FROM words x, words y
    WHERE x.id = y.id and x.keyword = 'cancer' and y.keyword = 'skin'

You could write something similar for three or four criteria also. If you wanted to do N criteria in general, it would be different, but I don't know if you need more than this.

  • Guy Bassan
  • Los Alamos National Laboratories
Received on Thu Aug 08 1996 - 00:00:00 CEST

Original text of this message