| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Dan Nelson | Date: | December 24 2002 6:39pm |
| Subject: | Re: 4.1 questions: subqueries which use dual | ||
| View as plain text | |||
In the last episode (Dec 24), Richard Clarke said: > 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) I didn't even know Mysql 4.1 had a "dual" table. I thought that was an Oracle-ism. Does "select * from ( select 1 ) d" work? -- Dan Nelson dnelson@stripped
| Thread | ||
|---|---|---|
| • Return every Nth row in a result set | SpamSucks86 | 22 Dec |
| • RE: Return every Nth row in a result set | JamesD | 22 Dec |
| • 4.1 questions: subqueries which use dual | ric | 22 Dec |
| • re: 4.1 questions: subqueries which use dual | Victoria Reznichenko | 24 Dec |
| • Re: Return every Nth row in a result set | ric | 22 Dec |
| • RE: Return every Nth row in a result set | SpamSucks86 | 22 Dec |
| • Re: Return every Nth row in a result set | Benjamin Pflugmann | 22 Dec |
| • RE: Return every Nth row in a result set | SpamSucks86 | 22 Dec |
| • Re: Return every Nth row in a result set | Richard Clarke | 22 Dec |
| • Re: Return every Nth row in a result set | ric | 22 Dec |
| • Re: 4.1 questions: subqueries which use dual | Richard Clarke | 24 Dec |
| • Re: 4.1 questions: subqueries which use dual | Dan Nelson | 24 Dec |
| • Re: 4.1 questions: subqueries which use dual | Richard Clarke | 24 Dec |
| • Re: 4.1 questions: subqueries which use dual | Mark Matthews | 24 Dec |
