Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

A query from ActiveRecord that isn't working (See related posts)

SELECT
t.*, j.* FROM terms_values j, values t WHERE t.id = j.value_id AND j.term_id = 310

Comments on this post

rubymatt posts on Jul 17, 2005 at 10:41
Of course the reason it wasn't working was the 'values' is a reserved word in SQL.

You need to create an account or log in to post comments to this site.


Related Posts