File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -1736,3 +1736,23 @@ It is primarily of interest to developers. The storage engine is a “stub” th
17361736< div align= " right" >
17371737 < b>< a href= " #table-of-contents" > ↥ back to top< / a>< / b>
17381738< / div>
1739+
1740+ # ### Q. How to find the unique values if the value in the column is repeated?
1741+
1742+ To find unique (non- repeated) values in a column (i .e ., values that appear only once), you can use the GROUP BY clause with HAVING COUNT (* ) = 1 .
1743+
1744+ - Sample Query
1745+ ` ` ` sql
1746+ SELECT name
1747+ FROM students
1748+ GROUP BY name
1749+ HAVING COUNT(*) = 1;
1750+ ` ` `
1751+ # ### Q. How to test performance of database?
1752+ # ### Q. What is SQL Profiler?
1753+ # ### Q. How to get @@ERROR and @@ROWCOUNT at the same time?
1754+ # ### Q. Explain about buffer cash and log Cache in SQL Server?
1755+
1756+ < div align= " right" >
1757+ < b>< a href= " #table-of-contents" > ↥ back to top< / a>< / b>
1758+ < / div>
You can’t perform that action at this time.
0 commit comments