Created
May 14, 2011 15:45
-
-
Save le0pard/972335 to your computer and use it in GitHub Desktop.
Куайн, Запрос который выводит сам себя
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select a || ' from (select ' || quote_literal(a) || b || ', ' || quote_literal(b) || '::text as b) as quine' from (select 'select a || '' from (select '' || quote_literal(a) || b || '', '' || quote_literal(b) || ''::text as b) as quine'''::text as a, '::text as a'::text as b) as quine; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment