We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2e01c8 commit 634cf02Copy full SHA for 634cf02
SORTING AND GROUP/619. Biggest Single Number.SQL
@@ -0,0 +1,7 @@
1
+SELECT MAX(num) AS num --> Using aggregation function MAX to find max. no. from MyNumbers Table alias as num (show the column)...
2
+FROM MyNumbers --> Association from MyNumbers Table...
3
+WHERE num IN --> Using sub - query for num column...
4
+(SELECT num
5
+FROM MyNumbers
6
+GROUP BY num --> in sub - query we grouped w.r.t. num column...
7
+HAVING COUNT(num) = 1); --> Condition given in the problem...(Number should be single...)
0 commit comments