postgresql7.3 SELECT * from beehive_pattern where num = :technique_num