This query is not working in cordova sqlite :
tx.executeSql("SELECT *
FROM cc_user_complaint_status
INNER JOIN cc_manage_departments ON
cc_user_complaint_status.department_id = cc_manage_departments.dep_id",[], user_success, user_error);
you can show answer that post here Example..
sql, sqlite SELECT with inner join
Example: