• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: Merging tuples together

Resolved: Merging tuples together

0
By Isaac Tonny on 16/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

When I query my Mysql table to get results. I get a tuple back.
The tuple is like this:
How do I get my tuple to be like this:
Any suggestions in python or SQL would be helpful.

Answer:

you can try SQL group by statement with aggregate function ‘sum’ example

If you have better answer, please add a comment about this, thank you!

mysql python sql
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Pandas Groupby Get Values from Previous Group

24/03/2023

Resolved: Can’t access static methods from outside until JavaScript’s static block is over?

24/03/2023

Resolved: Count number on values (which are measure) in a table

24/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.