def _build_median_id_table(self, metadata):
        table_name = self._get_table_name("m_id")
        median_id_table = Table(table_name, metadata,
                                Column("upper", INT),
                                Column("lower", INT),
                                prefixes=["TEMPORARY"])

        logger.debug("Building median ID table: %s", table_name)
        median_id_table.create()
        return median_id_table
CREATE TEMPORARY TABLE temp_median_ids (upper INT, lower INT);
dataset/ETHPy150Open dimagi/commcare-hq/custom/world_vision/custom_queries.py/CustomMedianQueryMeta._build_median_id_table