Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 8367

For questions about improving the performance and/or efficiency of database queries.

0 votes
2 answers
1k views

How can one calculate percentage from previous week in aggregate query?

I have a challenge I set out to do that seemed initially trivial. Not so for my developper brain. Consider the following simple view, used to validate a cron I wrote that queries a subset of 200 000 …
stefgosselin's user avatar
0 votes
0 answers
365 views

Optimise multiple inner JOIN

Consider the following query: mysql> SELECT GROUP_CONCAT(a.id SEPARATOR '\n') -> FROM assignment a -> INNER JOIN statements s ON a.id = s.assignment_id -> INNER JOIN assignment_status_lo …
stefgosselin's user avatar