Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

How to add columns with new row name using perl from mysql query?

by perlanswers (Initiate)
on Apr 03, 2017 at 07:03 UTC ( #1186784=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    +-----------------+--------------+--------------+
    | queue_name      | jobs_pend | jobs_run        |
    ...
    | spectreRF       |            0 |            1 |
    | vcs             |            0 |            0 |
    +-----------------+--------------+--------------+
    
  2. or download this
    sub pending_running_partition
    {
        $var_data_running = "";
    ...
        $sth->finish;
        $DBH->disconnect();
    }
    
  3. or download this
    sub pending_running_partition
    {
    ...
        $sth->finish;
        $DBH->disconnect();
    }
    
  4. or download this
    +---------------+--------------+--------------+
    | queue_name    | jobs_pend | jobs_run        |
    ...
    | calibre       |            0 |            0 |
    | dsp_ncsim_gls |            0 |            2 |
    +---------------+--------------+--------------+
    
  5. or download this
    +---------------+--------------+--------------+
    | queue_name    | jobs_pend | jobs_run        |
    ...
    | dsp_ncsim_gls |            0 |            2 |
    | others        |         212  |          218 |
    +---------------+--------------+--------------+
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2020-10-21 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (212 votes). Check out past polls.

    Notices?