I was wondering if there is a 'cleaner' or neat way to arrange this SQL query without repeating the same statement so many times but getting the 'wanted' result?Wanted SQL query:select * from Jenayah_Kekerasan where n_balai='BP Pulau Tikus' and Jenis <> 'Cabul Kehormatan' and Jenis <> 'Merusuh' and Jenis <> 'Pemerasan' and Jenis <> 'Ugutan Jenayah' and YEAR(T_Mula)=2012OR n_balai='BP Jelutong' and Jenis <> 'Cabul Kehormatan' and Jenis <> 'Merusuh' and Jenis <> 'Pemerasan' and Jenis <> 'Ugutan Jenayah' and YEAR(T_Mula)=2012OR n_balai='BP Bandar Baru' and Jenis <> 'Cabul Kehormatan' and Jenis <> 'Merusuh' and Jenis <> 'Pemerasan' and Jenis <> 'Ugutan Jenayah' and YEAR(T_Mula)=2012OR n_balai='BP Jalan Patani' and Jenis <> 'Cabul Kehormatan' and Jenis <> 'Merusuh' and Jenis <> 'Pemerasan' and Jenis <> 'Ugutan Jenayah' and YEAR(T_Mula)=2012OR n_balai='BP Bayan Baru' and Jenis <> 'Cabul Kehormatan' and Jenis <> 'Merusuh' and Jenis <> 'Pemerasan' and Jenis <> 'Ugutan Jenayah' and YEAR(T_Mula)=2012OR n_balai='BP Bukit Mertajam' and Jenis <> 'Cabul Kehormatan' and Jenis <> 'Merusuh' and Jenis <> 'Pemerasan' and Jenis <> 'Ugutan Jenayah' and YEAR(T_Mula)=2012
this is what i tried to simplified that query but didn't get the same result as 'wanted' query:select * from Jenayah_Kekerasan where n_balai='BP Pulau Tikus' OR n_balai='BP Jelutong' OR n_balai='BP Bandar Baru' OR n_balai='BP Jalan Patani' OR n_balai='BP Bayan Baru' OR n_balai='BP Bukit Mertajam' and Jenis <> 'Cabul Kehormatan' and Jenis <> 'Merusuh' and Jenis <> 'Pemerasan' and Jenis <> 'Ugutan Jenayah' and YEAR(T_Mula)=2012
I wonder where i did wrong?thanks in advance :)