Azure Synapse Analytics (formerly SQL Data Warehouse) provides a set of dynamic management views (DMVs) that give you insights into the queries and loads that have been run. To get the list of SQL queries executed by users on the Dedicated SQL Pool in the last seven days, you can join sys.dm_pdw_exec_requests and sys.dm_pdw_exec_sessions.
Here's a query that should give you the desired result:
SELECT
s.login_name AS LoginUserName,
r.start_time AS Query_Submit_time,
r.end_time AS QueryEndTime,
r.command AS Actual_SQL_Query,
r.status AS Query_Status
FROM
sys.dm_pdw_exec_requests r
JOIN
sys.dm_pdw_exec_sessions s
ON
r.session_id = s.session_id
WHERE
r.start_time >= DATEADD(DAY, -7, GETDATE()) -- Filter for the last seven days
ORDER BY
r.start_time DESC;
This query joins the two DMVs on the session_id and filters the results to only show queries from the last seven days. The result will be in the format you specified: LoginUserName, Query_Submit_time, QueryEndTime, Actual_SQL_Query, and Query_Status.