Hello all,
I swear i have spent hours searching and can't find my answer so I need for the first time a help for this.
I have a table
ID. IDTicket. Status
1. 1233. 0
2. 1233. 0
3. 1234. 1
4. 1234. 1
I want to do a count based on ticket so I have done a simple query
Count IDTicket groupby
Where Status 1
The problem is I get 2 records but I want only 1 since I want to merge IDTicket in one
If I do a query with the groupby first and the a second query with count on first query it works flawless, but I want to do this on just one query, it's possible?
I swear i have spent hours searching and can't find my answer so I need for the first time a help for this.
I have a table
ID. IDTicket. Status
1. 1233. 0
2. 1233. 0
3. 1234. 1
4. 1234. 1
I want to do a count based on ticket so I have done a simple query
Count IDTicket groupby
Where Status 1
The problem is I get 2 records but I want only 1 since I want to merge IDTicket in one
If I do a query with the groupby first and the a second query with count on first query it works flawless, but I want to do this on just one query, it's possible?