Not without some procedural code in a different language or creating temp
tables. (Both are bad ideas.)  Using straight SQL, the best you can get it
3 records, each with all the info from table 1 and a different row from
table 2.

HTH,
Cal
http://www.calevans.com


-----Original Message-----
From: Jaime Rubio [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 6:06 AM
To: [EMAIL PROTECTED]
Subject: View a return of Select


        I have to check to MySQL is able to support our requirements and I would
like to view a return of n columns like only one register, thats is posible
with MySQL?
        For example i have 2 tables , 1 table have products and this table habe 3
colums ID , name, Id_price and the other table (prices) have 2 columns
Id_price , price , can i return for the 'x' product their prices like
price1,price2,...priceN


______________________________
Un Saludo
Jaume Rubio
Depto. Informática
[EMAIL PROTECTED]
http://www.epel-ind.com
______________________________





---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to