Hi everyone, first of all, sorry for my english...
I'm in this situation:
I have a table in my database named products with the fields id and model in it. Now, I need to get 'all' the products but with different model names and each result represent a valid product.
I have tried with:
select id, modelname, ... from products group by modelname
but I want to be sure on that because later I'll be using the result as follows:
Product.buy result[1]
got what I mean? :S
thanks