Posts by Lucas • 35 points
2 posts
-
2
votes1
answer308
viewsQ: SQL - Transform different values of a Column into multiple columns with Count in each of them
My question is how to separate different values of a column into several columns and give a Count in each item according to the name in postgres, follows example below How are you: --TIPO…
-
0
votes2
answers150
viewsQ: Doubt with SELECT in MYSQL database
I need an sql that, in the table below, always bring the last insert to each user. I tried with distinct but it didn’t work. So in the case below sql would bring the results of row 2 and 5. Detail…