Click here to Skip to main content
16,015,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can someone help me with this? i want to show all data that the field workstatus = HRD and REASGD and the field Detachment = [Detachment Name]
Posted

1 solution

SQL
SELECT * FROM tablename WHERE workstatus IN ('HRD', 'REASGD') AND Detachment = 'detachment name'
 
Share this answer
 
v2
Comments
Abhinav S 21-Dec-13 4:55am    
Of course. 5.
Peter Leow 21-Dec-13 4:55am    
Thank you.
Crixalis Paul 21-Dec-13 20:58pm    
5 for me to and thaNk you :D

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900