Cannot Get Query Results in SQL Alerts

AcrobaticMonkey
New Contributor III

Example Query:

select name, date from errors;

Now i want to trigger an alert if count is greater than 1, and a notification should be sent to slack with output rows (name and date values). Even if i use {{QUERY_RESULT_ROWS}}, it only gives value after count is applied. 

Is there any way to get the actual rows using Alerts?