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 answers only not deleted user 18427

Questions about Stack Exchange APIs, Stack Exchange Data Explorer (SEDE), or any hacks to work with Stack Exchange sites.

2 votes

Archaeologist Progression

select EditId, count(distinct RevisionGUID) as Invalidations from RelatedPosts Left Outer Join PostHistory on RelatedPost = PostId and CreationDate between DateAdd(mm, -6, EditDa …
Malachi's user avatar
  • 28.7k
7 votes
Accepted

CodeLess Questions query

I have never used it before but I think what you are looking for is CHARINDEX I found a StackOverflow Answer that has several upvotes and no downvotes using it like this WHERE CHARINDEX('</code></pre …
Malachi's user avatar
  • 28.7k
13 votes

Top users under age 30, sorted by age, with rank

If you write the query where you first order by rank and then by age, you will get a better result, and you should be able to get rid of part of the where statement, which I would think would make the …
Malachi's user avatar
  • 28.7k
5 votes

SEDE Top Sponsors

I would change some things. This: inner join Votes bo on q.Id = bo.PostId and q.PostTypeId = 1 -- Questions and bo.VoteTypeId = 8 -- BountyOpen kind of s …
Malachi's user avatar
  • 28.7k
4 votes
Accepted

SEDE-Query for Rep-Trivia

First of all, when you are selecting and want to perform mathematics on it you should directly specify what you want done instead of Voters.Upvotes * 8 as [EstimatedAddedRep], it should be (Vo …
Malachi's user avatar
  • 28.7k
6 votes

Stack Exchange websockets wrapper

I will look at this again in a couple of days or maybe even later today, but here is something I saw right at the end of the question WebSocketReceiveResult response; while …
Malachi's user avatar
  • 28.7k
4 votes

Average time to first answer

The one thing that jumped out at me was WHERE Q.Id = A.ParentId You could JOIN the tables on that link instead. Formatting wise, (and you probably already know this, most people find it a bit te …
Malachi's user avatar
  • 28.7k
8 votes

Winterbash 2014 "Red Shirt" Estimation

Common Table Expressions are for all, intents and purposes, a Table and should be named accordingly, WITH cte_downvoted_posts AS Should be WITH DownvotedPosts AS Drop the Hungarian Naming st …
Malachi's user avatar
  • 28.7k
3 votes

Desktop notifications for queue items

Removing some of the code where this would refresh, I forgot to alter the @match's and this made it kind of tricky to do a review (I changed the timer to 20 seconds) I needed to remove the wildcard f …
Malachi's user avatar
  • 28.7k
7 votes

"How can I make this SEDE query better?" (bad title finder)

I noticed that you put Comma first in your select statements, something that I also do is to put the conjunctions first in my where conditions, it has similar advantages AND ( Posts.Title LIKE …
Malachi's user avatar
  • 28.7k
23 votes

Celebratory fireworks animation

You should always have an Alt attribute in your img tags <img src="https://i.sstatic.net/bGZ1m.png" width="80" height="43"> <img src="https://i.sstatic.net/bGZ1m.png" width="80" height="43" …
Malachi's user avatar
  • 28.7k