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 n1.number, n2.number | |
FROM | |
( | |
SELECT number | |
FROM numbers | |
) n1, | |
( | |
SELECT number | |
FROM numbers | |
) n2 |
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
number number | |
1 1 | |
1 2 | |
1 3 | |
1 4 | |
1 5 | |
1 6 | |
2 1 | |
2 2 | |
2 3 |
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
number number | |
1 1 | |
1 2 | |
1 3 | |
1 4 | |
1 5 | |
1 6 | |
2 1 | |
2 2 | |
2 3 |
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
number | |
1 | |
2 | |
3 | |
4 | |
5 | |
6 |
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 n1.number, n2.number | |
FROM | |
( | |
SELECT number | |
FROM numbers | |
) n1, | |
( | |
SELECT number | |
FROM numbers | |
) n2 |
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
number number | |
1 2 | |
1 3 | |
1 4 | |
1 5 | |
1 6 | |
2 1 | |
2 3 | |
2 4 |
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 n1.number, n2.number | |
FROM | |
( | |
SELECT number | |
FROM numbers | |
) n1, | |
( | |
SELECT number | |
FROM numbers | |
) n2 |
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
number number | |
1 2 | |
1 3 | |
1 4 | |
1 5 | |
1 6 | |
2 3 | |
2 4 | |
2 5 | |
2 6 |
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
id,gender | |
m1,man | |
m2,man | |
w1,woman | |
w2,woman | |
w3,woman |
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 n1.id, n2.id, n1.id || ' ♥ ' || n2.id | |
FROM | |
( | |
SELECT id, gender | |
FROM men_and_women | |
) n1, | |
( | |
SELECT id, gender | |
FROM men_and_women | |
) n2 |
OlderNewer