SELECT DISTINCT * FROM ( SELECT DISTINCT 1 AS rnk, `jl`.`jb_id`, `jl`.`jb_category`, `jl`.`jb_company_name`, `jl`