ÎÒÓÐÒ»ÕÅmysql±íxx£¬±íÀïÓÐ×Ö¶ÎÃûΪµÄ a,b,c,d,eµÄ×ֶΣ¬´æ·ÅµÄÊÇÍøÖ·£¬Óû§Ìá½»Êý¾Ý(ÍøÖ·£ºv,w,x,y,z)£¬Ïë²éѯ±íxxÀïa,b,c,d,eÈÎÒ»×Ö¶ÎÊÇ·ñ°üº¬Ìá½»µÄÈÎÒ»Êý¾Ý,»òa »òb »òc »òd »òe£¬·µ»Ø°üº¬ÓÐÌá½»Êý¾ÝÖ®Ò»µÄ¼Ç¼ÊýÁ¿£¬ÇëÎÊÕâÑùµÄ²éѯÓï¾äÓ¦¸ÃÔõôд°¡£¿Ï£ÍûÓÐÅóÓÑÄܰïÎÒһϣ¬Ð»Ð»£¡SQL code: select * from xx where concat(a,b,c,d,e) regexp 'v|w|x|y|z'
String sqlCount="select count(*) from usertable where username='"+ userName+"'";Õâ¾ä»° ʲôÒâ˼°¡£¡ Õâ¾ä»°Êä³ö³öÀ´¾ÍÊÇ select count(*) from usertable where username='ÄãµÄ±äÁ¿ ......