Subquery ( show columns from...)

2003-12-05 Thread Teemu Kuulasmaa
Hi all,

I was wondering is it possible to use SHOW COLUMNS FROM tbl_name as a 
subquery.

I tried something like this ( w/o success ):

SELECT * FROM tbl1 INNER JOIN (SHOW COLUMNS FROM tbl2) AS t2 WHERE t1.ID 
=t2.field;

or

SELECT field FROM (show columns from Research.idefix);



Teemu

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: Subquery ( show columns from...)

2003-12-05 Thread Egor Egorov
Teemu Kuulasmaa [EMAIL PROTECTED] wrote:
 
 I was wondering is it possible to use SHOW COLUMNS FROM tbl_name as a 
 subquery.
 
 I tried something like this ( w/o success ):
 
 SELECT * FROM tbl1 INNER JOIN (SHOW COLUMNS FROM tbl2) AS t2 WHERE t1.ID 
 =t2.field;
 
 or
 
 SELECT field FROM (show columns from Research.idefix);

Nope.



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
   ___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]