Which of the following queries are correct
SELECT
ID, STATUS, ITEM_TYPE,CREATED_TIME,UPDATED_TIME
WHERE
STATUS IN('OPEN','UPDATED')
AND
ITEM_TYPE IN ('ITEM1','ITEM2')
AND
CREATED_TIME BETWEEN 'XX' AND 'YY'
AND
UPDATED_TIME BETWEEN 'XX' AND 'ZZ'
SELECT
ID, STATUS, ITEM_TYPE,CREATED_TIME,UPDATED_TIME
WHERE
STATUS IN('OPEN','UPDATED')
JOIN
SELECT
ID, STATUS, ITEM_TYPE,CREATED_TIME,UPDATED_TIME
WHERE
ITEM_TYPE IN ('ITEM1','ITEM2')
JOIN
SELECT
ID, STATUS, ITEM_TYPE,CREATED_TIME,UPDATED_TIME
WHERE
CREATED_TIME BETWEEN 'XX' AND 'YY'
JOIN
SELECT
ID, STATUS, ITEM_TYPE,CREATED_TIME,UPDATED_TIME
WHERE
UPDATED_TIME BETWEEN 'XX' AND 'ZZ'