Table:
0
A
B
C
D
E
F
1
employee id
start date
end date
job id
department id
job history
2
102
1993-01-13
1998-07-24
IT_PROG
60
3
101
1989-09-21
1993-10-27
AC_ACCOUNT
110
4
101
1993-10-28
1997-03-15
AC_MGR
110
5
201
1996-02-17
1999-12-19
MK_REP
20
6
114
1998-03-24
1999-12-31
ST_CLERK
50
7
122
1999-01-01
1999-12-31
ST_CLERK
50
8
200
1987-09-17
1993-06-17
AD_ASST
90
9
176
1998-03-24
1998-12-31
SA_REP
80
10
176
1999-01-01
1999-12-31
SA_MAN
80
11
200
1994-07-01
1998-12-31
AC_ACCOUNT
90
12
0
0000-00-00
0000-00-00
0

Questions and formulas:
Question: display the ID for those employees who did two or more jobs in the past.
Formula: LET(query1,SUMMARIZE(A1,),FILTER(query1,CHOOSECOLS(query1,2)>=2))
Formula2: LET(query1,SUMMARIZE(A2:A12,),FILTER(query1,CHOOSECOLS(query1,2)>=2))
Level: hard
Question: What are the employee ids for employees who have held two or more jobs?
Formula: LET(query1,SUMMARIZE(A1,),FILTER(query1,CHOOSECOLS(query1,2)>=2))
Formula2: LET(query1,SUMMARIZE(A2:A12,),FILTER(query1,CHOOSECOLS(query1,2)>=2))
Level: hard
Question: What are the employee ids for those who had two or more jobs.
Formula: LET(query1,SUMMARIZE(A1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,3)>=2))
Formula2: LET(query1,SUMMARIZE(A2:A12,SUMX(D2:D12)),FILTER(query1,CHOOSECOLS(query1,3)>=2))
Level: hard
Question: the employees who were given at least 2 jobs.
Formula: LET(query1,SUMMARIZE(A1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,3)>=2))
Formula2: LET(query1,SUMMARIZE(A2:A12,SUMX(D2:D12)),FILTER(query1,CHOOSECOLS(query1,3)>=2))
Level: hard
Question: The employees who once had at least 2 jobs.
Formula: LET(query1,SUMMARIZE(A1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,3)>=2))
Formula2: LET(query1,SUMMARIZE(A2:A12,SUMX(D2:D12)),FILTER(query1,CHOOSECOLS(query1,3)>=2))
Level: hard
Question: The employees who have at least 2 jobs.
Formula: LET(query1,SUMMARIZE(A1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,3)>=2))
Formula2: LET(query1,SUMMARIZE(A2:A12,SUMX(D2:D12)),FILTER(query1,CHOOSECOLS(query1,3)>=2))
Level: hard