Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Syntactic Confectionery Delight
 
PerlMonks  

Re: Cross Table Mysql Update

by typomaniac (Novice)
on Jul 02, 2012 at 03:13 UTC ( #979358=note: print w/ replies, xml ) Need Help??


in reply to Cross Table Mysql Update

Problem Solved

Should have dug just a little deeper in the research. I learned something about 'joins' today. Thank you for this site.


Comment on Re: Cross Table Mysql Update
Re^2: Cross Table Mysql Update
by ig (Priest) on Jul 02, 2012 at 06:22 UTC

    No doubt there are many ways to solve your problem. Others might like to see what your solution is.

    What came to mind for me was not joins but sub-queries. This example from the MySql documentation might give you some ideas:

    Here is an example of a subquery:
    
    SELECT * FROM t1 WHERE column1 = (SELECT column1 FROM t2);
    
    In this example, SELECT * FROM t1 ... is the outer query (or outer statement), and (SELECT column1 FROM t2) is the subquery.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://979358]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2013-06-19 06:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many continents have you visited?









    Results (643 votes), past polls