1 2 3 4 5 6 7
SELECT get_reservation_item_price( ri_id ) FROM reservation_items WHERE ri_id =1 OR ri_parentid =1 LIMIT 0 , 30