select count(1) from table where name = ? limit 1
select count(1) from table where name = ? limit 1