count(*) FROM orders AS o
LEFT JOIN members AS m USING (memberId)
LEFT JOIN orderItems AS oi ON (o.orderId=oi.orderId)
LEFT JOIN products AS p ON (oi.productId=p.productId) AND
(p.productParentId 2)
WHERE (oi.orderId IS NULL) AND (o.orderStatus=2);
--
Michael
__
||| Michael Collins
||| Kuwago Inc
ON (o.orderId=oi.orderId)
LEFT JOIN products AS p ON (oi.productId=p.productId) AND
(p.productParentId 2)
WHERE (oi.orderId IS NULL) AND (o.orderStatus=2);
--
Michael
__
||| Michael Collins
||| Kuwago Inc mailto:[EMAIL PROTECTED]
||| Seattle, WA, USAhttp
items in the order that are not that product.
So Distinct does not help here.
What I think I need is a subselect and the IN clause, but that is not
available in MySQL 4.
--
Michael
__
||| Michael Collins
||| Kuwago Inc mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA
__
||| Michael Collins
||| Kuwago Inc mailto:[EMAIL PROTECTED]
||| Seattle, WA, USAhttp://michaelcollins.net
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
backups, or remote storage, and I am not
concerned about the size of the backup files. Replication might be
the best scenario for some sites but this case is not high finance.
--
Michael
__
||| Michael Collins
||| Kuwago Inc mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA
BY Visitors.NameLast;
Michael
At 9:33 AM +0200 9/11/02, Carsten Zilch wrote:
Hello,
the answer for:
RE: Selecting data from one table if it's NOT in another
should also answer your question
Carsten
-Ursprüngliche Nachricht-
Von: Michael Collins [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 10
Visitors if there are any records in WishListItems (I am not checking
anythign in WishListItems, there just has to be at least one record).
--
Michael
__
||| Michael Collins
||| Kuwago Inc mailto:[EMAIL PROTECTED]
||| Seattle, WA, USAhttp://michaelcollins.net
by keyword, as follows:
select * from products join units where products.productid =
units.productid order by productnumber
the primary key information doesn't arrive. Should it, or am I
expecting too much?
--
Michael
__
||| Michael Collins |||
||| Kuwago Inc||| mailto
this correctly?
--
Michael
__
||| Michael Collins |||
||| Kuwago Inc||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http://www.mysql.com
!
--
Michael
__
||| Michael Collins |||
||| Kuwago Inc||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http://www.mysql.com/manual.php
, there is no reversible encryption available in MySQL
3.+ that can be stored as a text string(?)
--
Michael
__
||| Michael Collins |||
||| Kuwago Inc||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
At 4:46 PM +0100 2/3/02, Joseph Bueno wrote:
Michael Collins a écrit :
I am trying to normalize some MySQL tables and need to move a few
columns from one table to another while maintaining the relationship
between the two.
SELECT DISTINCT ProductID
(SELECT
ProductID,
SmImage
?
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http://www.mysql.com/manual.php
From: Michael Collins [mailto:[EMAIL PROTECTED]]
Can describe be used to show columns from all tables in a database?
At 9:56 AM -0800 1/28/02, Bruce Sandell wrote:
try mysqldump with the -d option.
That was my first thought, but this does not give a result in the
nice tables wish describe
for the table as well as the column.
So instead of:
describe MYdb.products '%';
You could do:
describe MYdb '%';
to return all tables from the datbase MYdb
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http
At 2:54 PM -0500 1/28/02, Andy Ingham wrote:
A fellow in our shop wrote a perl script to do just that.
Nice but I do not think I have perl DBI library installed. Does it
have to be compiled in? I am on Mac OS X
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services
Can describe be used to show columns from all tables in a database?
All at once that is. I want to document all fields in all tables and
find I need to display one table at a time.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED
Using MySQL 3.23.47, is the best data type for small currency
float(4) ? This is for prices of items in a shopping cart for example
t-shirts.
What is the difference in using float vs decimal? I know I don't need double.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services
to worry about precise rounding with doubles.
As I mentioned, I am only selling t-shirts, none of which exceed $30
USm quantity 2 perhaps. Do I really need to use centi-cents in this
case or will the cents value do (I do plan to use an integer)?
--
Michael
__
||| Michael Collins |||
||| Kuwago
allocated, and empty and NULL have the same
storage requirements? I suppose it is different for CHAR, VARCHAR,
TEXT and so forth..
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
At 10:58 AM -0500 1/25/02, Vernon A Webb wrote:
database,sql,query,table
Which field type do I use for a simply checkbox Y,N?
How about CHAR(1)?
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http
Server? I am not sure there is a bit type in
MySQL? Do you mean Char(0)? Anyhow, in MS SQL Server a bit type
column cannot be indexed so you are better off with CHAR(1).
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA
documentation (in the data type section).
Question remains, can one effectively index tinyint(1)?
Als, back to the original question, in light of bit being equivalent
to tinyint(1), I suppose storing Y/N is better achieved through the
use of CHAR(1).
--
Michael
__
||| Michael Collins
.
So why is it that when you add a field with that type you get tinyint(1).
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http://www.mysql.com/manual.php (the manual
://www.lassodev.com/pub/webminNotes02.sit
The ones that stand out on the not free list include MacSQL Monitor,
SQL4X Manager, and ProSQL (I haven't spent much time with
JaneBUILDER). You get a lot more with these.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http://www.mysql.com/manual.php (the manual
At 9:51 AM -0600 11/29/01, ROGGER ALEXIS VASQUEZ MARTINEZ wrote:
Thanks and
How DO I RESTORE IT ???
IF using at least version 3.23.25, then you can use RESTORE TABLE
(described just after BACKUP TABLE).
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto
select * from Menu;
snip ... etc ...
8 rows in set (0.00 sec)
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
the shutdown
problem). I'm going to compile 3.23.45 now and see how it goes.
On:
http://www.mysql.com/doc/N/e/News-3.23.45.html
It says:
shutdown should now work on Darwin (Mac OS X).
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED
Now that the shutdown command has been repaired, are there other
outstanding issues specific to Mac OS X that the MySQL AB team has
under development for MySQL 3.x?
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA
At 1:49 PM -0600 11/26/01, john wrote:
this is not meant to be demeaning, but your not seriousely running a server
with a Mac are you?
And why not? Are you at all familiar with Mac OS X and/or Darwin? It
is Unix BSD. Seems a fine choice for MySQL.
--
Michael
__
||| Michael Collins
At 2:35 PM -0600 11/26/01, john wrote:
Excuse me, but I never intended on adding the world to that question,
And I never invited your private flame.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http
? Better than mysqldump?
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http
on Mac OS X.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http://www.mysql.com
(Darwin 1.3.x)?
2) How do I find out what options are compiled into the binary?
BTW, Thanks to MySQL AB for making a binary specific to Mac OS X!
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http
/phpMyAdmin/
Webmin
James Cameron
http://www.webmin.com/webmin/index.html
JaneBUILDER
http://www.seejanecode.com/
ProSQL
http://www.intellisw.com/prosql/
SQLBoss
Reinhard R. Blumauer
http://www.sqlboss.com/
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL
. Level is
the level at which the folder is located, this makes it easier to
indent the items in a folder.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
. Level is
the level at which the folder is located, this makes it easier to
indent the items in a folder.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
in a strict sense)
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
database,sql,query,table
-
Before posting, please
, are discovering that dolphins are far from the happy, peaceful
creatures that humans think they know.
Are you from NuSphere? (perhaps this is how they feel about Flipper
at this point)
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA
and risk slowing down activity to a crawl. I
suppose indexing is not going to help in this case at all. But what
does one do when it becomes more important that the search occur at
all despite the time that it might take?
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services
it would be used. There would just need to be some
instructions showing what and how to install what is needed.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
to shutdown in that order. A normal kill may not
work.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting
will not terminate with a usual kill command.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check
. Sinisa Milivojevic [EMAIL PROTECTED]
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
___/ www.mysql.com
At 10:36 PM +0300 7/31/01, Sinisa Milivojevic wrote:
Michael Collins writes:
What is MySQL GUI exactly? Is it like the MySQL
Phpwizard.net
Current Version: 2.1.0
http://www.phpwizard.net/projects/phpMyAdmin/
Webmin
James Cameron
Current Version: 0.87
http://www.webmin.com/webmin/index.html
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA
.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http://www.mysql.com/manual.php
continuing.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http://www.mysql.com
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http://www.mysql.com/manual.php (the manual
the --skip-grant-tables option to start the server
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http://www.mysql.com/manual.php (the manual
want to make money on
MySQL, follow the guidelines of GPL to the letter and to the approval
of MySQL or pay the per-copy license.
I guess the solution seems so simple for an outsider.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED
% mysql MCExample /Import_MCExample.mysql
I cannot test it since so far the alias file idea does not work, I
put the .cshrc file into my home directory, logged out and started a
new telnet session.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL
At 11:09 AM -0700 7/15/01, Michael Collins wrote:
At 1:47 PM -0500 7/14/01, Paul DuBois wrote:
Any solution I've tried using the LassoMySQL/var/my.cnf or
~/.my.cnf files affect both the special installation as well as
the standard MySQL installation. I find I will always get the
standard port
release date on it which
in internet time makes it an antique, but in the case of Unix
probably not a whole lot has changed I imagine. Nevertheless, it
would be a dream if you could write the version of Using tcsh
specifically for Mac OS X.
--
Michael
__
||| Michael Collins |||
||| Kuwago
:
SQL in a Nutshell
Author: Kevin Kline with Daniel Kline, Ph.D.
ISBN: 1-56592-744-3
Published: December 2000, O'Reilly Associates
224 pages
http://www.oreilly.com/catalog/sqlnut/
http://www.bookpool.com/.x/SSCOLL/sm/1565927443
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services
?
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http://www.mysql.com/manual.php
/specialMySQL/bin/mysql
would use the different port and socket?
And, using /usr/local/mysql would then use the default datadirectory and port?
BTW, this is on Mac OS X, I wouldn't think it would matter but I
thought to mention it.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services
540.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http://www.mysql.com
to put sticky notes into the pages of a pdf...
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting
.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http://www.mysql.com/manual.php
mentions that the Web site will confuse new users, but I
think this one will confuse them even more:
http://mysql.net/
(for non-Japanese users that is).
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http
-huge.cnf, my-medium.cnf, my-large.cnf
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check
At 5:10 PM +0200 7/9/01, Werner Stuerenburg wrote:
It's so easy, you won't think of it: start mysqld with parameter
-h (=help):
mysqld -h
shows all parameters and current settings
Isn't that:
mysqladmin variables
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services
there be some possibility of conflict if some request
was being made while the copy was occurring?
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
not have any my.cnf file.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
-
Before posting, please check:
http
/
http://miltonshole.thespacemonkey.com/osx/mysql.html
Here is an article on it:
http://www.stepwise.com/Articles/Workbench/2001-03-24.01.html
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http
At 11:15 AM -0700 7/8/01, tj marlin wrote:
MySQL, Paul DuBois, New Riders publishing, 2000, $40
better price here:
http://www.bookpool.com/.x/SSCOLL/sm/0735709211
I have no association with this book dealer
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services
if I know how may there are:
#!/usr/bin/perl
for ($inc = 1; $inc 90; $inc++) {
system (/usr/local/bin/perror -v $inc;);
}
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
/local/var'
for a source installation). Note that this is the directory that was
specified at configuration time.
Can I change this after installation and initial configuration?
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA
otherwise be interpreted as a
wild-card character)
In other words, am I correct that none of these characters can be
stored in a MySQL string field (such as CHAR, VARCHAR, or TEXT)?
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA
the data was stored you could not use certain
characters.
If this is the case, then thanks for your help in clarifying the issue.
--
Michael
__
||| Michael Collins |||
||| Kuwago Web Services ||| mailto:[EMAIL PROTECTED]
||| Seattle, WA, USA ||| http://www.lassodev.com
73 matches
Mail list logo