selecting single value in multiple columns (with respect to first column and without the respect of the first Column)


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. WITH respect TO FIRST COLUMN:
  2.  
  3. SELECT * FROM Issue WHERE AssignedEmployeeID=45 AND (LocalTesterID=43 OR StagingTesterID=43 OR FinalTesterID=43)
  4.  
  5.  
  6. WITH OUT the respect OF FIRST COLUMN:
  7.  
  8. SELECT * FROM Issue WHERE AssignedEmployeeID=45 AND LocalTesterID=43 OR StagingTesterID=43 OR FinalTesterID=43

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.