R: Simple SELECT/CONCAT query?

2002-09-17 Thread Danilo Maurizio
Try with a self-inflicted left join on the field price. select a.item,b.item,price from table a left join table b on a.price=b.price and a.item!=b.item You should have: a.Item b.Item Price --- Item 125 Item 2 Item 6 33 Item 3

R: Indexing Column for a result set of a SELECT

2002-09-12 Thread Danilo Maurizio
You can try this: set @index = 0; select @index:=@index+1 'index', myfield from mytable limit 100 Danilo Happy MySQL user -Messaggio originale- Da: Fam. Tarniceru [mailto:[EMAIL PROTECTED]] Inviato: giovedì 12 settembre 2002 11.59 A: MySQL Mailing List Oggetto: Indexing Column for a

R: installing

2002-09-11 Thread Danilo Maurizio
You have downoladed the source zip file, and so you have to compile it or download the binary version. Danilo -Messaggio originale- Da: Robert Barbaro [mailto:[EMAIL PROTECTED]] Inviato: venerdì 12 luglio 2002 11.52 A: [EMAIL PROTECTED] Oggetto: installing I have unzipped mysql-3.23.5

R: select in create

2002-08-27 Thread Danilo Maurizio
Hi, try this: "create table mytable select max(id),space(1) name from mytable2" and then this: "alter table mytable modify name varchar(255)" Danilo Maurizio -Messaggio originale- Da: Ilyas Keser [mailto:[EMAIL PROTECTED]] Inviato: martedì 27 agosto 2002 15.56