def METHOD_NAME(heavyai_con, table_id):
    heavyai_con.query(f"CREATE TABLE test_table_{table_id} (a INTEGER, b TEXT)")
    for i in range(10):
        heavyai_con.query(f"INSERT INTO test_table_{table_id} VALUES ({i}, 'abc_{i}')")
    heavyai_con.query(f"SELECT AVG(a) FROM test_table_{table_id}")