Given the following query:
SELECT Item, CAST(Cost AS INTEGER)
FROM StoreInv
ORDER BY Item;
The statement returns the following rows:
Item Cost
1001 10
1002 11
1004 9
1010 10
Given the following additional query:
SELECT Item, Cost
FROM WarehouseInv
ORDER BY Item;
The statement returns the following rows:
Item Cost
1001 9.7
1002 11.0
1005 12.0
1006 13.5
Given the union of the following two queries:
SELECT Item, CAST(Cost AS INTEGER)
FROM StoreInv
UNION
SELECT Item, Cost
FROM WarehouseInv;
How many rows will the query return?
Reveal Solution Next Question