Insert into table(num,name,binary) VALUES('','filename','@binary'); #### SELECT binary from table where num='1';