SELECT * 
FROM `fao-maps-review.faostat.vw_prices_pp_producer_prices`
WHERE item_code = @item_code 
    and lower(frequency) = @frequency
--    and @frequency = lower(frequency)    
