New course! Every coder should learn Generative AI!
Try a free lesson+ 1
how to count number of 1's in column 1 and column 2 in a single row
2 Answers
0
Select count(id) from table where column1 = 1 and column2 = 1
0
select count(column1), count(column 2) from table where column1=1 and column2=1