select * from ((select count(*) from table where Q_TYPE=1 and Q_ONE =0 ) /(select count(*) from table where Q_TYPE=1)) * 100%