Skip to content

Commit e98f58d

Browse files
authored
Merge pull request #9 from rahull0328/dev
added new answers
2 parents 5ef1bec + e92e533 commit e98f58d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)