Skip to main content
deleted 1 character in body
Source Link
Kirk Woll
  • 77.5k
  • 21
  • 18

This question interested me so I did some digging in SEDE and found that some howsomehow the Question Ids of those questions (3896320,3896444,3896217) have ended up in the AcceptedAnswerId column on some other questions:


From this I would presume that the back end SQL Query being produced by that search is something like this:

SELECT [A].*
FROM [Posts] AS [Q]
INNER JOIN [Posts] AS [A] ON ([Q].[AcceptedAnswerId] = [A].[Id])
WHERE [A].[PostTypeId] = 1; -- Type 1 = Question

^ SEDE Link

This question interested me so I did some digging in SEDE and found that some how the Question Ids of those questions (3896320,3896444,3896217) have ended up in the AcceptedAnswerId column on some other questions:


From this I would presume that the back end SQL Query being produced by that search is something like this:

SELECT [A].*
FROM [Posts] AS [Q]
INNER JOIN [Posts] AS [A] ON ([Q].[AcceptedAnswerId] = [A].[Id])
WHERE [A].[PostTypeId] = 1; -- Type 1 = Question

^ SEDE Link

This question interested me so I did some digging in SEDE and found that somehow the Question Ids of those questions (3896320,3896444,3896217) have ended up in the AcceptedAnswerId column on some other questions:


From this I would presume that the back end SQL Query being produced by that search is something like this:

SELECT [A].*
FROM [Posts] AS [Q]
INNER JOIN [Posts] AS [A] ON ([Q].[AcceptedAnswerId] = [A].[Id])
WHERE [A].[PostTypeId] = 1; -- Type 1 = Question

^ SEDE Link

deleted 112 characters in body
Source Link
AeroX
  • 3.4k
  • 12
  • 12

This question interested me so I did some digging in SEDESEDE and found that some how the Question Ids of those questions (3896320,3896444,3896217) have ended up in the AcceptedAnswerId column on some other questions:


From this I would presume that the back end SQL Query being produced by that search is something like this:

SELECT [Q][A].*
FROM [Posts] AS [Q]
INNER JOIN [Posts] AS [A] ON ([Q].[AcceptedAnswerId] = [A].[Id])
WHERE [A].[PostTypeId] = 1; -- Type 1 = Question

^ SEDE Link

This question interested me so I did some digging in SEDE and found that some how the Question Ids of those questions (3896320,3896444,3896217) have ended up in the AcceptedAnswerId column on some other questions:


From this I would presume that the back end SQL Query being produced by that search is something like this:

SELECT [Q].*
FROM [Posts] AS [Q]
INNER JOIN [Posts] AS [A] ON ([Q].[AcceptedAnswerId] = [A].[Id])
WHERE [A].[PostTypeId] = 1; -- Type 1 = Question

^ SEDE Link

This question interested me so I did some digging in SEDE and found that some how the Question Ids of those questions (3896320,3896444,3896217) have ended up in the AcceptedAnswerId column on some other questions:


From this I would presume that the back end SQL Query being produced by that search is something like this:

SELECT [A].*
FROM [Posts] AS [Q]
INNER JOIN [Posts] AS [A] ON ([Q].[AcceptedAnswerId] = [A].[Id])
WHERE [A].[PostTypeId] = 1; -- Type 1 = Question

^ SEDE Link

Source Link
AeroX
  • 3.4k
  • 12
  • 12

This question interested me so I did some digging in SEDE and found that some how the Question Ids of those questions (3896320,3896444,3896217) have ended up in the AcceptedAnswerId column on some other questions:


From this I would presume that the back end SQL Query being produced by that search is something like this:

SELECT [Q].*
FROM [Posts] AS [Q]
INNER JOIN [Posts] AS [A] ON ([Q].[AcceptedAnswerId] = [A].[Id])
WHERE [A].[PostTypeId] = 1; -- Type 1 = Question

^ SEDE Link