postgresql7.3 SELECT * from beehive_sesscript WHERE number = :session_id SELECT * from beehive_patscript WHERE techniqe = :technique_name AND tname = :technique_version SELECT * from beehive_emptypatscript SELECT * from beehive_ses WHERE number = :session_id