pos_get_mpc() SQL