List:General Discussion« Previous MessageNext Message »
From:Richard Clarke Date:December 24 2002 6:10pm
Subject:Re: 4.1 questions: subqueries which use dual
View as plain text  
Victoria,
    I pulled that latest updates to the 4.1 tree to make sure I had the most
recent version and I still have the same problem. Here is a log of my
actions.

# cd /usr/local/mysql-4.1
mysql-4.1 # bin/mysql --defaults-file=etc/my-small.cnf -u root
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.1.0-alpha

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
Type 'help [[%]function name[%]]' to get help on usage of function.

mysql> use mysql;
Database changed
mysql> select 1 from dual;
+---+
| 1 |
+---+
| 1 |
+---+
1 row in set (0.00 sec)

mysql> select * from (select 1 from dual) d;
ERROR 1146: Table 'mysql.dual' doesn't exist
mysql>

Richard.


----- Original Message -----
From: "Victoria Reznichenko" <victoria.reznichenko@stripped>
To: <mysql@stripped>
Sent: Tuesday, December 24, 2002 3:55 PM
Subject: re: 4.1 questions: subqueries which use dual


> On Sunday 22 December 2002 08:06,  wrote:
> > Mysql,
> >     Selecting from `dual` with a simple query works fine,
> >
> > mysql> select 1 x from dual;
> > +---+
> >
> > | x |
> >
> > +---+
> >
> > | 1 |
> >
> > +---+
> >
> > but within a derived table,
> >
> > mysql> select * from (select 1 x from dual) s;
> > ERROR 1146: Table 'test.dual' doesn't exist
> >
> > Is this an oversight or is it purposefully so?
>
> Sorry, but I couldn't repeat it :(
>
>
>
> --
> For technical support contracts, goto https://order.mysql.com/?ref=ensita
> This email is sponsored by Ensita.net http://www.ensita.net/
>    __  ___     ___ ____  __
>   /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
>  / /|_/ / // /\ \/ /_/ / /__   Victoria.Reznichenko@stripped
> /_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
>        <___/   www.mysql.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 <mysql-thread128366@stripped>
> To unsubscribe, e-mail <mysql-unsubscribe-ric=lorcom.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>
>
>

Thread
Return every Nth row in a result setSpamSucks8622 Dec
  • RE: Return every Nth row in a result setJamesD22 Dec
  • 4.1 questions: subqueries which use dualric22 Dec
    • re: 4.1 questions: subqueries which use dualVictoria Reznichenko24 Dec
  • Re: Return every Nth row in a result setric22 Dec
    • RE: Return every Nth row in a result setSpamSucks8622 Dec
      • Re: Return every Nth row in a result setBenjamin Pflugmann22 Dec
        • RE: Return every Nth row in a result setSpamSucks8622 Dec
          • Re: Return every Nth row in a result setRichard Clarke22 Dec
          • Re: Return every Nth row in a result setric22 Dec
  • Re: 4.1 questions: subqueries which use dualRichard Clarke24 Dec
    • Re: 4.1 questions: subqueries which use dualDan Nelson24 Dec
  • Re: 4.1 questions: subqueries which use dualRichard Clarke24 Dec
    • Re: 4.1 questions: subqueries which use dualMark Matthews24 Dec