[PHP] Re: MySQL select matching

2010-07-19 Thread Michael Dykman
Not quite sure what the question is. from: > mysql> select * from table where id='1'; > +---+-+-+---+ > | 1 | 123 | 0.0 | C | > | 1 | 234 | 0.1 | D | > | 1 | 345 | 0.0 | D | > | 1 | 456 | 0.1 | C | > | 1 | 567 | 0.1 | G | > +---+-+-+---+ How do we d

[PHP] Re: Mysql Select

2003-02-09 Thread andraskende
> Hello, > > Can anyone help me with this simple query: > > I want to limit to 1 the same names returned from the query like: > > > > FROM: > > SELECT gallery.design FROM gallery > > buffet > buffet > buffet > buffet > barstools > barstools > barstools > barstools > barstools > bar