A large product catalog needs an efficient way to retrieve one randomly selected catalog row without sorting the entire table. Write a PostgreSQL query that returns exactly one row from big_table while avoiding a full-table ORDER BY random() operation.
id and name.NULL values in name when the selected row has no name.| Column | Type | Description |
|---|---|---|
| idPK | INTEGER | Unique catalog row identifier |
| name | VARCHAR(200) | Catalog item name |