hi you can do it...with the help of where condition...
Where Condition is used like that a bool condition. for example is
select count(*) from TableName where columnname="Condition Value"
if the above query is return 1 then where condition is true other wise condition is false.
try this
Select * from Student where sem='SemII'
for any query hit to reply..