/* Table bug3040a is created and populated in mysql/queries/nightly/srvswdev11/test005/rebuild.sh script */
select count(*) c2 from bug3040a where cbigint=4;
select count(*) c3 from bug3040a where cbigint=5;
select count(*) c4 from bug3040a where cbigint=6;

select count(*) c6 from bug3040a where cdecimal1=4;
select count(*) c7 from bug3040a where cdecimal1=5;
select count(*) c8 from bug3040a where cdecimal1=6;

select count(*) c10 from bug3040a where cdecimal4=4;
select count(*) c11 from bug3040a where cdecimal4=5;
select count(*) c12 from bug3040a where cdecimal4=6;

select count(*) c14 from bug3040a where cdecimal4_2=4;
select count(*) c15 from bug3040a where cdecimal4_2=5;
select count(*) c16 from bug3040a where cdecimal4_2=6;

select count(*) c18 from bug3040a where cdecimal5=4;
select count(*) c19 from bug3040a where cdecimal5=5;
select count(*) c20 from bug3040a where cdecimal5=6;

select count(*) c22 from bug3040a where cdecimal9=4;
select count(*) c23 from bug3040a where cdecimal9=5;
select count(*) c24 from bug3040a where cdecimal9=6;

select count(*) c26 from bug3040a where cdecimal9_2=4;
select count(*) c27 from bug3040a where cdecimal9_2=5;
select count(*) c28 from bug3040a where cdecimal9_2=6;

select count(*) c30 from bug3040a where cdecimal10=4;
select count(*) c31 from bug3040a where cdecimal10=5;
select count(*) c32 from bug3040a where cdecimal10=6;

select count(*) c34 from bug3040a where cdecimal18=4;
select count(*) c35 from bug3040a where cdecimal18=5;
select count(*) c36 from bug3040a where cdecimal18=6;

select count(*) c38 from bug3040a where cdecimal18_2=4;
select count(*) c39 from bug3040a where cdecimal18_2=5;
select count(*) c40 from bug3040a where cdecimal18_2=6;

select count(*) c42 from bug3040a where csmallint=4;
select count(*) c43 from bug3040a where csmallint=5;
select count(*) c44 from bug3040a where csmallint=6;

select count(*) c46 from bug3040a where ctinyint=4;
select count(*) c47 from bug3040a where ctinyint=5;
select count(*) c48 from bug3040a where ctinyint=6;

select count(*) c50 from bug3040a where cdouble=4;
select count(*) c51 from bug3040a where cdouble=5;
select count(*) c52 from bug3040a where cdouble=6;

select count(*) c54 from bug3040a where cfloat=4;
select count(*) c55 from bug3040a where cfloat=5;
select count(*) c56 from bug3040a where cfloat=6;

select count(*) c58 from bug3040a where cdate='2010-08-11';
select count(*) c59 from bug3040a where cdate='2010-08-12';
select count(*) c60 from bug3040a where cdate='2010-08-13';

select count(*) c62 from bug3040a where cdatetime='2010-08-11 14:20:40';
select count(*) c63 from bug3040a where cdatetime='2010-08-11 14:20:50';
select count(*) c64 from bug3040a where cdatetime='2010-08-11 14:20:56';

select count(*) c66 from bug3040a where cchar1='V';
select count(*) c67 from bug3040a where cchar1='M';
select count(*) c68 from bug3040a where cchar1='P';

select count(*) c70 from bug3040a where cchar2='VI';
select count(*) c71 from bug3040a where cchar2='MC';
select count(*) c72 from bug3040a where cchar2='PO';

select count(*) c74 from bug3040a where cchar3='VIS';
select count(*) c75 from bug3040a where cchar3='MCA';
select count(*) c76 from bug3040a where cchar3='POS';

select count(*) c78 from bug3040a where cchar4='VISA';
select count(*) c79 from bug3040a where cchar4='MCAR';
select count(*) c80 from bug3040a where cchar4='POS';

select count(*) c82 from bug3040a where cchar5='VISA';
select count(*) c83 from bug3040a where cchar5='MCARD';
select count(*) c84 from bug3040a where cchar5='POS';

select count(*) c86 from bug3040a where cchar6='VISA';
select count(*) c87 from bug3040a where cchar6='MCARD';
select count(*) c88 from bug3040a where cchar6='POS';

select count(*) c90 from bug3040a where cchar7='VISA';
select count(*) c91 from bug3040a where cchar7='MCARD';
select count(*) c92 from bug3040a where cchar7='POS';

select count(*) c94 from bug3040a where cchar8='VISA';
select count(*) c95 from bug3040a where cchar8='MCARD';
select count(*) c96 from bug3040a where cchar8='POS';

select count(*) c98 from bug3040a where cchar9='VISA';
select count(*) c99 from bug3040a where cchar9='MCARD';
select count(*) c100 from bug3040a where cchar9='POS';

select count(*) c102 from bug3040a where cchar255='VISA';
select count(*) c103 from bug3040a where cchar255='MCARD';
select count(*) c104 from bug3040a where cchar255='POS';

select count(*) c106 from bug3040a where cvchar1='V';
select count(*) c107 from bug3040a where cvchar1='M';
select count(*) c108 from bug3040a where cvchar1='P';

select count(*) c110 from bug3040a where cvchar2='VI';
select count(*) c111 from bug3040a where cvchar2='MC';
select count(*) c112 from bug3040a where cvchar2='PO';

select count(*) c114 from bug3040a where cvchar3='VIS';
select count(*) c115 from bug3040a where cvchar3='MCA';
select count(*) c116 from bug3040a where cvchar3='POS';

select count(*) c118 from bug3040a where cvchar4='VISA';
select count(*) c119 from bug3040a where cvchar4='MCAR';
select count(*) c120 from bug3040a where cvchar4='POS';

select count(*) c122 from bug3040a where cvchar5='VISA';
select count(*) c123 from bug3040a where cvchar5='MCARD';
select count(*) c124 from bug3040a where cvchar5='POS';

select count(*) c126 from bug3040a where cvchar6='VISA';
select count(*) c127 from bug3040a where cvchar6='MCARD';
select count(*) c128 from bug3040a where cvchar6='POS';

select count(*) c130 from bug3040a where cvchar7='VISA';
select count(*) c131 from bug3040a where cvchar7='MCARD';
select count(*) c132 from bug3040a where cvchar7='POS';

select count(*) c134 from bug3040a where cvchar8='VISA';
select count(*) c135 from bug3040a where cvchar8='MCARD';
select count(*) c136 from bug3040a where cvchar8='POS';

select count(*) c138 from bug3040a where cvchar255='VISA';
select count(*) c139 from bug3040a where cvchar255='MCARD';
select count(*) c140 from bug3040a where cvchar255='POS';
