Invalid query: Whole query: SELECT id, emp_id, online_profile, short_id, name, photo, designation, linked_in, facebook, twitter, email, googleplus, status FROM team where status >= 1 order by order_id