python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
LEFT JOIN limited number of rows with GROUP_CONCAT too slow
I boiled the question down in the db fiddle below.
I have an object table and an images table. X images can be assigned to an object.
Now I have a list where a configurable amount of images needs to b...
Mike
Votes: 0
Answers: 3
Concatenate one column over a resultset like kind of group_concat
I am currently writing on a SPARQL query (GraphDB) and try to concatenate the results of one column to avoid the kind of "duplicates".
My current query looks like this
SELECT ?label ?otaupda...
Larry
Votes: 0
Answers: 1
Add second column to order by mysql in a group_concat
I have this query I made based on someone else question here.
SELECT *, FIND_IN_SET( score, ( SELECT GROUP_CONCAT( score ORDER BY score ASC) FROM EventPlayerResult WHERE eventId = 'EventTest0') ) AS p...
DrDoom
Votes: 0
Answers: 1
How to combine multiple rows to multiple col name with variable string in mssql?
Input
fruit
season
price
apple
spring
15
apple
summer
20
apple
autumn
35
apple
winter
55
banana
spring
13
banana
summer
2
banana
autumn
3
banana
winter
5
peach
spring
40
peac...
Herbert
Votes: 0
Answers: 4