|
senthil_nagore
Aged Yak Warrior
India
997 Posts |
Posted - 06/18/2012 : 04:49:59
|
You can try some thing like this
Select * from table_name where (gender='male' and age<65) or (gender='female' and age<61)
Senthil Kumar C ------------------------------------------------------ MCITP - Database Administration SQL SERVER 2008 MCTS - Database Development SQL SERVER 2008 |
 |
|