The query selects all rows from the project_info table where the sales_manager_id is equal to "19dd03d3-13b3-11e9-b3ce-1866da644f8f" or the project_manager_id is equal to "19dd03d3-13b3-11e9-b3ce-1866da644f8f" and the is_main column is equal to 1.

SELECT FROM project_info WHERE sales_manager_id = 19dd03d3-13b3-11e9-b3ce-1866da644f8f OR project_manager_id = 19dd03d3-13b3-11e9-b3ce-1866da644f8f AND is_main = 1

原文地址: https://www.cveoy.top/t/topic/hH82 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录