mysql - SQL QUERY NOT IN -


select count(accessed_time) total   user_db   application_id '1%'  , accessed_time between '" + date1 +"' , '"+daten+"'   

this query fetch application id begin 1...i need exclude 101....from result...how can modify query

simply add and.

select count(accessed_time) total user_db application_id '1%'   , application_id <> 101   , accessed_time between '" + date1 +"' , '"+daten+"'  

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -