mysqli:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}}acx{{98991*97996}}xca,%' having callnx='0'' at line 5
select substring(trim(index01),1,1) as callnx from index_db where 1    AnD   (  (subj like '%พฤติกรรมเอื้ออาทร%' )   
 ) 
 AnD  (  (subj like '%วิจัย%' )   
 ) 
 and bcode like '%,'}}acx{{98991*97996}}xca,%'   having callnx='0' 
mysqli:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}}acx{{98991*97996}}xca,%' having callnx='1'' at line 5
select substring(trim(index01),1,1) as callnx from index_db where 1    AnD   (  (subj like '%พฤติกรรมเอื้ออาทร%' )   
 ) 
 AnD  (  (subj like '%วิจัย%' )   
 ) 
 and bcode like '%,'}}acx{{98991*97996}}xca,%'   having callnx='1' 
mysqli:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}}acx{{98991*97996}}xca,%' having callnx='2'' at line 5
select substring(trim(index01),1,1) as callnx from index_db where 1    AnD   (  (subj like '%พฤติกรรมเอื้ออาทร%' )   
 ) 
 AnD  (  (subj like '%วิจัย%' )   
 ) 
 and bcode like '%,'}}acx{{98991*97996}}xca,%'   having callnx='2' 
mysqli:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}}acx{{98991*97996}}xca,%' having callnx='3'' at line 5
select substring(trim(index01),1,1) as callnx from index_db where 1    AnD   (  (subj like '%พฤติกรรมเอื้ออาทร%' )   
 ) 
 AnD  (  (subj like '%วิจัย%' )   
 ) 
 and bcode like '%,'}}acx{{98991*97996}}xca,%'   having callnx='3' 
mysqli:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}}acx{{98991*97996}}xca,%' having callnx='4'' at line 5
select substring(trim(index01),1,1) as callnx from index_db where 1    AnD   (  (subj like '%พฤติกรรมเอื้ออาทร%' )   
 ) 
 AnD  (  (subj like '%วิจัย%' )   
 ) 
 and bcode like '%,'}}acx{{98991*97996}}xca,%'   having callnx='4' 
mysqli:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}}acx{{98991*97996}}xca,%' having callnx='5'' at line 5
select substring(trim(index01),1,1) as callnx from index_db where 1    AnD   (  (subj like '%พฤติกรรมเอื้ออาทร%' )   
 ) 
 AnD  (  (subj like '%วิจัย%' )   
 ) 
 and bcode like '%,'}}acx{{98991*97996}}xca,%'   having callnx='5' 
mysqli:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}}acx{{98991*97996}}xca,%' having callnx='6'' at line 5
select substring(trim(index01),1,1) as callnx from index_db where 1    AnD   (  (subj like '%พฤติกรรมเอื้ออาทร%' )   
 ) 
 AnD  (  (subj like '%วิจัย%' )   
 ) 
 and bcode like '%,'}}acx{{98991*97996}}xca,%'   having callnx='6' 
mysqli:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}}acx{{98991*97996}}xca,%' having callnx='7'' at line 5
select substring(trim(index01),1,1) as callnx from index_db where 1    AnD   (  (subj like '%พฤติกรรมเอื้ออาทร%' )   
 ) 
 AnD  (  (subj like '%วิจัย%' )   
 ) 
 and bcode like '%,'}}acx{{98991*97996}}xca,%'   having callnx='7' 
mysqli:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}}acx{{98991*97996}}xca,%' having callnx='8'' at line 5
select substring(trim(index01),1,1) as callnx from index_db where 1    AnD   (  (subj like '%พฤติกรรมเอื้ออาทร%' )   
 ) 
 AnD  (  (subj like '%วิจัย%' )   
 ) 
 and bcode like '%,'}}acx{{98991*97996}}xca,%'   having callnx='8' 
mysqli:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}}acx{{98991*97996}}xca,%' having callnx='9'' at line 5
select substring(trim(index01),1,1) as callnx from index_db where 1    AnD   (  (subj like '%พฤติกรรมเอื้ออาทร%' )   
 ) 
 AnD  (  (subj like '%วิจัย%' )   
 ) 
 and bcode like '%,'}}acx{{98991*97996}}xca,%'   having callnx='9' 
000

100

200

300

400

500

600

700

800

900