<prompt> Kutokana na meza ya shughuli na safu TransactionID, UserID, ProductID, na TransactionDate, kuandika SQL query kupata watumiaji ambao wamefanya shughuli na angalau 3 bidhaa tofauti katika wiki iliyopita.  <response>: Heres the SQL query you could use:SELECT UserIDFROM transactionsWHERE TransactionDate DATEADDday, -7, GETDATE -- Select transactions from the past weekGROUP BY UserIDHAVING COUNTDISTINCT ProductID 3 -- Only select users with at least 3 unique products This query uses the DATEADD function to get transactions within the last week and then groups transactions by user ID. It then only selects user IDs that have made transactions with at least 3 unique products using the COUNT and DISTINCT functions in the HAVING clause. 