In SQL server 2008 I have table Theory with columns Thesis and Class.
Thesis Class
<this is sample text> 1
<this is sample text> 2
<this is sample text> 2
<this is sample text> 3
<this is sample text> 3
<this is sample text> 1
<this is sample text> 3
<this is sample text> 1
<this is sample text> 1
<this is sample text> 2
I want to write select statement that will return two records of each class.
Many thanks
1 Answer