Laraver query Union All

前端 未结 0 780
独厮守ぢ
独厮守ぢ 2020-12-03 05:32

I have query like these

SELECT id,image1 image FROM product_catalog
WHERE id=\'1\' AND image1<>\'\'
UNION ALL 
SELECT id,image2 image FROM product_catal         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题