title: Postgres Inner Join Select query returns error: column does not exist
body: <p>I have been reading through the documentation and I can't find what I'm doing wrong here. </p>
  
  <p>I'm executing this query:</p>
  
  <pre><code>SELECT *
  FROM "parts"
  INNER JOIN "categories" ON "categories"."id" = "parts"."category_id"
  WHERE "categories"."name" = "cars"
  </code></pre>
  
  <p>And I'm getting this error:</p>
  
  <pre><code>ERROR:  column "cars" does not exist
  LINE 3: WHERE (categories.name = "cars")
                                   ^
  ********** Error **********
  
  ERROR: column "cars" does not exist
  SQL state: 42703
  Character: 122
  </code></pre>
  
  <p>Category Table:</p>
  
  <pre><code>CREATE TABLE categories
  (
    id serial NOT NULL,
    name character varying(255),
    CONSTRAINT categories_pkey PRIMARY KEY (id)
  )
  </code></pre>
  
  <p>Parts Table:</p>
  
  <pre><code>CREATE TABLE parts
  (
    id serial NOT NULL,
    category_id integer,
    CONSTRAINT parts_pkey PRIMARY KEY (id)
  )
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>