Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^8: How to add columns with new row name using perl from mysql query?

by finddata (Sexton)
on Apr 06, 2017 at 12:27 UTC ( #1187267=note: print w/replies, xml ) Need Help??


in reply to Re^7: How to add columns with new row name using perl from mysql query?
in thread How to add columns with new row name using perl from mysql query?

Every derived table must have its own alias at /pj/ib/he/ic/ic_cd/cpps +/dv/r_dard/1.1_jan/bn/r.cgi line 920.
  • Comment on Re^8: How to add columns with new row name using perl from mysql query?
  • Download Code

Replies are listed 'Best First'.
Re^9: How to add columns with new row name using perl from mysql query?
by Corion (Pope) on Apr 06, 2017 at 13:31 UTC

    So, just add the alias and you're done.

    Most likely, your SQL manual for your database will have the relevant information.

      Am newbie in using alias how to use alias for this query?.I had google it but i didnt get good view.

        Have you looked in the documentation of your database? Certainly the syntax is explained there.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1187267]
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: (6)
As of 2019-12-06 17:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (157 votes). Check out past polls.

    Notices?