Author: Not specified | Language: sql |
Description: Not specified | Timestamp: 2018-04-18 09:00:31 +0000 |
View raw paste | Reply |
- You Could try the other format FOR the case statement
- CASE WHEN Product.type_id = 10
- THEN
- (
- SELECT Statement
- )
- ELSE
- (
- Other SELECT statement
- )
- END
- FROM Product
- WHERE Product.product_id = $pid
View raw paste | Reply |