NYCPHP Meetup

NYPHP.org

[nycphp-talk] mysql question

Jeff Knight jeff.knight at gmail.com
Tue Aug 23 11:30:39 EDT 2005


INSERT INTO `numbers` (`user`, `number`) VALUES 
(1,1) , (1,9) , (1,5) ;


On 8/23/05, David Mintz <dmintz at davidmintz.org> wrote:
> On Tue, 23 Aug 2005, Frank Wong wrote:
> 
> > Marcin Szkudlarek wrote:
> >
> > >I have a simple table like this
> > >
> > >create table numbers (user int, number int);
> > >insert into numbers (user, number) values (1, 1);
> > >insert into numbers (user, number) values (1, 9);
> > >insert into numbers (user, number) values (1, 5);
> > >
> > >is it possible in mysql to write a query which gives me a result (1 row):
> > >"1,9,5" ?
> > >



More information about the talk mailing list