Added DISTINCT query
Added query with not equal operator