def METHOD_NAME(uri, database, table, schema, rows_num):
    engine = create_engine(uri, echo=True)
    data_res = engine.execute('select * from ' + schema + '.' + table + ' limit ' + rows_num).fetchall()
    data = []
    for row in data_res:
        rows = []
        for item in row:
            rows.append(item)
        data.append(rows)
    return data