The document discusses using the "RETURN UPDATED ROWS" clause in SQL queries. This clause will return only rows that were newly inserted or updated by the query, rather than all rows matching the condition. For example, if a query updates rows where location = Sohar and prodno=1, "RETURN UPDATED ROWS" will show just the changed rows rather than all matching rows.