Skip to content
Advertisement

Tag: sql

SELECT DISTINCT sum in google sheet

i’ve a sheet like this: Month(Col11) Team (Col2) 03 luna 03 luna 04 pippo 04 gigi 04 luna 04 gigi 04 pippo 04 luna 04 luna 04 pippo 04 pippo 04 grisbi 04 grisbi 05 luna 05 luna 05 pippo 05 pippo 05 grisbi 05 grisbi i need the sum of unique of each month, a result like this: Month(Col11)

Optional variable in Graphql

I have a graphql query like this: when i run this it expects a id as variable. How can I make that variable optional? It should display all results when no id is given Answer There’s no way that I’m aware to declare a variable as optional but also have it ignore the rest of the expression in the way

How to show multiple tables list in MySql

How to show multiple table list in mysql I have a query that has two tables one for patients and the second one for patients who has tested for covid-19 I want to show all the patients either they tested or not If tested then show the result with his/her name It only showing the patients who has tested for

Python/SQL/pydobc: Get result of if operation for counter?

I’m running the following code to add emails to a database table if they do not already exist. I’d like to be able to count the emails that are added and the ones that already existed. I’ve tried checking the cursor.description after each loop, but it returns None whether the item existed or not. Is there a way to do

Advertisement