Draft SQL from your question, run approved queries. Every one is ready to run, and you can adjust it in plain language.
Draft SQL for reporting requests and clarify what each count includes.
Get a SQL count query in the chat thread, with a clear note on what it counts and which conditions it uses.
We use cookies to make this site work and to understand how it is used.
Cookies
We value your privacy and never share your data with third parties.
Necessary
Needed to make the site work.
Statistics
Help us to understand and improve this site.