Here is the question
You are to label the dice sides with numbers. Each dice has 6 sides. You have two dice. You must label so that you can display (not sum or product) the numbers 0 to 31. Complete output:
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
I tried
(select
0 as dice1 union
select 1 union
select 2 union
select 3 union
select 4 union
select 5 )
join
(select
0 as dice2 union
select 1 union
select 2 union
select 3 union
select 4 union
select 5 )
I don't know how to process it further.Help is appreciated.