IN運算符在IN()中的值之間應用或條件。我想 實現和條件之間的數組中的值。如何做呢?如何在IN運算符中實現和條件
SELECT J.ID , J.U_POST_ID,
J.TITLE,J.CREATION_DATE,J.STATUS,
R.FIRST_NAME, R.LAST_NAME,R.CLINICAL_CLINIC_NAME,
J.REQUIREMENT,J.STATE,J.CITY,J.DESCRIPTION,J.CALL_DUR,J.USER_ID
FROM
df_job_meta M LEFT OUTER JOIN df_job_post J ON
M.JOB_ID = J.ID
LEFT OUTER JOIN df_register_users R ON
R.ID = J.USER_ID
WHERE
J.STATUS='ACTIVE' AND R.OCCUPATION !='student' AND J.STATE IN ('Maharashtra') AND J.CITY IN ('Nagpur') and M.VALUE IN ('Clinical','Fresher','BDS Intern','Full Time')
上面的 「新鮮」 或 「臨牀」
I want to select row associated with both fresher and Clinical
表結構如下
META_KEY | VALUE
01查詢選擇值
experience | fresher
num_vacancy| 1
profile |Clinical
有什麼錯條款使用,取而代之的? – SMA 2015-01-21 11:40:28
你想在查詢中包含多少個城市? – Fenistil 2015-01-21 11:41:40
我在sitiation,我想從mysql中選擇兩個值的記錄 – 2015-01-21 11:41:51