Show all types

19

Please login or register to vote for this query.

(click on this box to dismiss)

Show all values in known tables that map a type id to a type name.

Language Learning

Q&A for students, teachers, polyglots, and anyone interested in the techniques of second-language acquisition

-- Show types
-- Show post history types, post types and vote types.

SELECT Coalesce(PT.Id, PHT.Id, VT.Id) As [Id],
       PT.Name As [Post],
       PHT.Name As [Revision],
       VT.Name As [Vote]
FROM PostTypes PT
FULL OUTER JOIN PostHistoryTypes PHT
ON PT.Id = PHT.Id
FULL OUTER JOIN VoteTypes VT
ON PT.Id = VT.Id OR PHT.Id = VT.Id

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results