code: def select_random(engine, table_or_columns, limit=5):
      
      s = select(table_or_columns).order_by(func.random()).limit(limit)
      return engine.execute(s).fetchall()
docs: Randomly select some rows from table.