postgresql7.3
SELECT * from beehive_pattern where num = :technique_num
UPDATE beehive_ses SET ig = :ig , el = :el WHERE number = :session_id
SELECT * from beehive_ses where number = :session_id
UPDATE beehive_ses SET el = :ell WHERE number = :session_id
UPDATE beehive_ses SET ig = :igg WHERE number = :session_id