well it can be complex selecting "all" the action lines of a single item using just mysql
but I can give you the following that will select the id of the first line which you can then follow from there
Code:
select id_action from cq_itemtype where id = INSERT_ITEMTYPE_ID;
if you're unsure of the item's ID do the following:
empty all items from your inventory EXCEPT the PK prize item
run the following:
Code:
select id from cq_user where name = 'INSERT_CHARACTER_NAME';
run the following (using the previous code result)
Code:
select TYPE from cq_item where player_id = PREVIOUS_RESULT and owner_id = PREVIOUS_RESULT and position = 50;