- 1
what is the proper arrangement
You need the ages of all bears and lions. The first query shows the ages of bears and birds from zoo1, the other shows the ages of lions and crocodiles from zoo2. SELECT age FROM zoo1 WHERE animal IN ('lion', 'crocodile') UNION WHERE animal IN ('bear', 'bird') SELECT age FROM zoo2
10 Antworten
+ 7
SELECT age FROM zoo1
WHERE animal IN ('bear', 'bird')
UNION
SELECT age FROM zoo2
WHERE animal IN ('lion', 'crocodile')
+ 1
SELECT age FROM zoo1
WHERE animal IN ('bear', 'bird')
UNION
SELECT age FROM zoo2
WHERE animal IN ('lion', 'crocodile')
0
what is the proper arrangement
You need the ages of all bears and lions. The first query shows the ages of bears and birds from zoo1, the other shows the ages of lions and crocodiles from zoo2.
SELECT age FROM zoo1
WHERE animal IN ('lion', 'crocodile')
UNION
WHERE animal IN ('bear', 'bird')
SELECT age FROM zoo2
0
SELECT age FROM zoo1
WHERE animal IN ('bear', 'bird')
UNION
SELECT age FROM zoo2
WHERE animal IN ('lion', 'crocodile')
0
please give me correct quastion
0
+2
SELECT age FROM zoo1
WHERE animal IN ('bear', 'bird')
UNION
SELECT age FROM zoo2
WHERE animal IN ('lion', 'crocodile')
0
Select age From zoo1
Where animal In('bear','bird')
Union
Select age From zoo2
Where animal In('lion','crocodile')
0
SELECT age FROM zoo1
WHERE animal IN ('bear', 'bird')
UNION
SELECT age FROM zoo2
WHERE animal IN ('lion', 'crocodile')
0
SELECT age FROM zoo1
WHERE animal IN ('bear', 'bird')
UNION
SELECT age FROM zoo2
WHERE animal IN ('lion', 'crocodile')
- 1
SELECT age FROM zoo1
WHERE animal IN ('bear', 'bird')
UNION
SELECT age FROM zoo2
WHERE animal IN ('lion', 'crocodile')