is it possible to create a query like this? I tried to run it but I end up getting an error message.
sql: >
SELECT ':servers__name' as MACHINE, ':usernames__name' as USERNAME, COUNT(*) AS test
WHERE MACHINE like ':servers__name%'
AND USERNAME like ':usernames__name%'
parameters:
servers:
- name: server1
- name: server2
usernames:
- name: user1
- name: user2
Hi,
is it possible to create a query like this? I tried to run it but I end up getting an error message.
The error I get is this:
Am I doing something wrong with the parameters? Because if I put the values into the queries it works fine.