![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
SELECT * FROM RS_A Now i need a select which selects based on hierarchy if ColA = 'S', then select only that row else if ColA = 'B' then select only that row else if colA = 'P' then select only that row So my results should look like S shakespeare S milton B shelley S kafka P tennyson Is there a way to do this within a select statement I tried using a CASE in WHERE CLAUSE but it put out all rows which existed/ |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |