<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1033112" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1033112</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/problem-query#comment-1196530</link>
    <description> &lt;p&gt;can you do them all at once ?&lt;/p&gt;
 </description>
     <pubDate>Sun, 02 Apr 2006 03:29:46 +0000</pubDate>
 <dc:creator>gretty</dc:creator>
 <guid isPermaLink="false">comment 1196530 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/problem-query#comment-1193786</link>
    <description> &lt;p&gt;I joined the table for each additional field i wanted to check...&lt;/p&gt;
 </description>
     <pubDate>Tue, 21 Feb 2006 16:31:03 +0000</pubDate>
 <dc:creator>Triexa.com</dc:creator>
 <guid isPermaLink="false">comment 1193786 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/problem-query#comment-1193770</link>
    <description> &lt;p&gt;If I understand correctly, you were wanting to check two records at once. They needed to have one record with one value, as well as another record with the second value.&lt;/p&gt;
&lt;p&gt;I&#039;ve tried that before and been unsuccessful. What was the solution you used?&lt;/p&gt;
 </description>
     <pubDate>Tue, 21 Feb 2006 13:38:11 +0000</pubDate>
 <dc:creator>timjpriebe</dc:creator>
 <guid isPermaLink="false">comment 1193770 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/problem-query#comment-1193657</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: I want to select all rows where the user has field_id[1] a value of &#039;aaa&#039; &lt;strong&gt;and&lt;/strong&gt; also has a field_value[2] of &#039;bbb&#039;...&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Umm no, I don&#039;t want either to be true.&lt;/p&gt;
&lt;p&gt;Anyways, I ended up getting it through a series of INNER JOINS, and it seems to work just dandy!&lt;/p&gt;
&lt;p&gt;Thanks to everyone, anyways&lt;/p&gt;
 </description>
     <pubDate>Sun, 19 Feb 2006 03:51:33 +0000</pubDate>
 <dc:creator>Triexa.com</dc:creator>
 <guid isPermaLink="false">comment 1193657 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/problem-query#comment-1193656</link>
    <description> &lt;p&gt;If I am reading your first post correctly...I think changing the AND to an OR will get the results you are looking for from your example.  The OR will return a record if either is true.&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: WHERE (f.field_id=1 AND f.field_value = &#039;aaa&#039;) OR (f.field_id=2 AND f.field_value = &#039;bbb&#039;)&lt;/p&gt;&lt;/blockquote&gt;
 </description>
     <pubDate>Sun, 19 Feb 2006 03:49:37 +0000</pubDate>
 <dc:creator>altweb</dc:creator>
 <guid isPermaLink="false">comment 1193656 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/problem-query#comment-1193547</link>
    <description> &lt;p&gt;field_id references another table which has more information&lt;/p&gt;
&lt;p&gt;but in my example.. 2 field_id&#039;s.. 1 and 2...&lt;/p&gt;
&lt;p&gt;but I want the VALUE volumn of field_id&#039;s 1 &amp;amp; 2 to equal &#039;aaa&#039; and &#039;bbb&#039;... follow?&lt;/p&gt;
 </description>
     <pubDate>Fri, 17 Feb 2006 06:34:50 +0000</pubDate>
 <dc:creator>Triexa.com</dc:creator>
 <guid isPermaLink="false">comment 1193547 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/problem-query#comment-1193546</link>
    <description> &lt;p&gt;From the query you have given, you are requesting that field_id be equal to 1 AND 2 at the same time and field_value be equal to &#039;aaa&#039; AND &#039;bbb&#039; at the same time.&lt;/p&gt;
&lt;p&gt;I&#039;m not exactly sure what you are wanting, but maybe replacing the middle AND with an OR ????&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Fri, 17 Feb 2006 06:24:33 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1193546 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
