[plug] mysql query questoin
Denis Brown
dsbrown at cyllene.uwa.edu.au
Sun Jan 19 21:26:31 WST 2003
Jon,
I believe this is a little akin to "piping" data. For example "SELECT
bah blah blah" gets the data and INSERT whatever, whatever, whatever does
the insert. So you'd be looking at a syntax like...
INSERT INTO (your destination table) SELECT (your query string) FROM
(your source table);
Pending a more informed reply, that's where I'd be headed. It could of
course get tricky if you need to send data to differently-named fields.
HTH,
Denis
On 19 Jan 2003, Jon Miller wrote:
> I'm trying to do a query in mysql whose results I want to put in another
> mysql database/table.
> The query part I have that correct as the results are right, from there
> I'm lost. Does anyone know who this is suppose to work?
> is it the SELECT .... INSERT syntax?
>
> Thanks
> --
> Jon Miller <jlmiller at mmtnetworks.com.au>
> MMT Networks Pty Ltd
>
>
>
More information about the plug
mailing list