Here is query
SELECT
ap_sell_investment.sell_per_coin,ap_sell_investment.sell_id, ap_sell_investment.sell_no_of_coins, ap_investment.investment_id,ap_investment.currency_price_input, ap_coin_currency_mst.coin_currency_price ,ap_coin_currency_mst.symbol, ap_investment.write_note, ap_investment.pstatus, ap_investment.coin_currency_id
FROM
ap_sell_investment
INNER JOIN ap_investment
ON ap_investment.coin_currency_id = ap_sell_investment.coin_currency_id
INNER JOIN ap_coin_currency_mst
ON ap_coin_currency_mst.coin_currency_id = ap_investment.coin_currency_id
WHERE ap_investment.status=2
GROUP BY ap_sell_investment.sell_id
I got this error
Expression #4 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'fl_coinbase_new.ap_investment.investment_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group