I found this useful script online to find out the queries run on a specific database. This script is useful when you are trying to go back and find out what was ran on the database.
SELECT deqs.last_execution_time AS [Time], dest.text AS [Query], dest.*
FROM sys.dm_exec_query_stats AS deqs
CROSS APPLY sys.dm_exec_sql_text(deqs.sql_handle) AS dest
WHERE dest.dbid = DB_ID(‘dbname’)
ORDER BY deqs.last_execution_time DESC