Unknown column 'reg1' in 'where clause'
select * from catalog where id=reg1