code: def test_simple(db):
      # single chunk
      data = read_sql_table(
          "test", db, npartitions=2, index_col="number"
      ).compute()
      assert (data.name == df.name).all()
      assert data.index.name == "number"
      assert_eq(data, df)
  
imports: from __future__ import annotations
  import io
  import sys
  from contextlib import contextmanager
  import pytest
  from dask.dataframe.io.sql import read_sql, read_sql_query, read_sql_table
  from dask.dataframe.utils import assert_eq, get_string_dtype
  from dask.utils import tmpfile
label_desc: Use image node_id 7 for calling a global function with example usage: test_simple(db) without return types