name work arun teacher rahul teacher kapil student monu student
select * from data where work=teacher UNION select * from data where work=student
select * from data where work in ('teacher','student')
select * from data where work like 'teacher' UNION select * from data where work like 'student'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)