We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc9dae9 commit c557356Copy full SHA for c557356
6. Odd-Even MOD.sql
@@ -0,0 +1,6 @@
1
+-- mod(column,2) return remainder
2
+-- if it is 0 then it's EVEN.
3
+-- otherwise it's ODD.
4
+select name from db where mod(id,2) = 0;
5
+
6
+select name from db where mod(id,2) = 1;
0 commit comments