Table: archaeological_periods
Columns: copper_age
chalcolithic_4500_bc_3300_bc
early_chalcolithic
4500_bc_4000_bc
ubaid_period_in_mesopotamia

Question: When middle assyrian empire is the ubaid period in mesopotamia what is the copper age?
SQL: SELECT "copper_age" FROM archaeological_periods WHERE "ubaid_period_in_mesopotamia" = 'Middle Assyrian Empire'

Question: When hittite old kingdom , minoan eruption is the  ubaid period in mesopotamia what is the copper age?
SQL: SELECT "copper_age" FROM archaeological_periods WHERE "ubaid_period_in_mesopotamia" = 'Hittite Old Kingdom , Minoan eruption'

Question: When hittite middle kingdom , new kingdom of egypt is the ubaid period in mesopotamia how many early chalcolithics are there?
SQL: SELECT COUNT("early_chalcolithic") FROM archaeological_periods WHERE "ubaid_period_in_mesopotamia" = 'Hittite Middle Kingdom , New Kingdom of Egypt'

Question: When the second intermediate period of egypt is the  ubaid period in mesopotamia how many early calcolithics are there?
SQL: SELECT COUNT("early_chalcolithic") FROM archaeological_periods WHERE "ubaid_period_in_mesopotamia" = 'Second Intermediate Period of Egypt'