I want to name my Alias titles using data from my tables. He开发者_运维技巧re's a totally stupid example to show what I want to do:
SELECT id AS CONCAT('id_', name)
Which would give me the output id_5 => 5. (if ID was 5 in the table)
Sounds like what you're after is a pivot - you mean that for each row in the table, you would end up with a new column, right? If so, then just google mysql pivot (sorry, I'm used to sqlserver)
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论