SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002213s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.004629s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002823s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.25' ) [ RunTime:0.002815s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002062s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000284s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001874s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000267s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.005072s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002444s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'AQV252G%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.001835s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `partno` LIKE 'AQV252G%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007856s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('9249790','9250468','7118073','9249791','7117709','9251110','7117708','9249787','9254138','9254139','16984','15966','9248622','29135','19745','6841','9250421','9251298','9251047') ORDER BY FIELD(s.id, 9249790,9250468,7118073,9249791,7117709,9251110,7117708,9249787,9254138,9254139,16984,15966,9248622,29135,19745,6841,9250421,9251298,9251047) [ RunTime:0.004107s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003083s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249790 LIMIT 4 [ RunTime:0.000629s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001047s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249790 ORDER BY `minOrder` ASC [ RunTime:0.006338s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249790 ORDER BY `unit` DESC [ RunTime:0.003096s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001020s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249790 LIMIT 2 [ RunTime:0.001334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249790 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
select * from pdf where partno='AQV252G2S' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.010023s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9250468 LIMIT 4 [ RunTime:0.005688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250468 ORDER BY `minOrder` ASC [ RunTime:0.004549s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9250468 ORDER BY `unit` DESC [ RunTime:0.003766s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9250468 LIMIT 2 [ RunTime:0.000605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250468 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
select * from pdf where partno='AQV252G2SX' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.000433s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7118073 LIMIT 4 [ RunTime:0.003336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7118073 ORDER BY `minOrder` ASC [ RunTime:0.002470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7118073 ORDER BY `unit` DESC [ RunTime:0.003775s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7118073 LIMIT 2 [ RunTime:0.001077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7118073 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249791 LIMIT 4 [ RunTime:0.001194s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249791 ORDER BY `minOrder` ASC [ RunTime:0.001433s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249791 ORDER BY `unit` DESC [ RunTime:0.000391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249791 LIMIT 2 [ RunTime:0.006495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249791 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7117709 LIMIT 4 [ RunTime:0.000796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117709 ORDER BY `minOrder` ASC [ RunTime:0.000584s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7117709 ORDER BY `unit` DESC [ RunTime:0.000750s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7117709 LIMIT 2 [ RunTime:0.000427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117709 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251110 LIMIT 4 [ RunTime:0.000557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251110 ORDER BY `minOrder` ASC [ RunTime:0.002861s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251110 ORDER BY `unit` DESC [ RunTime:0.001822s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251110 LIMIT 2 [ RunTime:0.000558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251110 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7117708 LIMIT 4 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117708 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7117708 ORDER BY `unit` DESC [ RunTime:0.000380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7117708 LIMIT 2 [ RunTime:0.004171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117708 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249787 LIMIT 4 [ RunTime:0.000492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249787 ORDER BY `minOrder` ASC [ RunTime:0.000462s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249787 ORDER BY `unit` DESC [ RunTime:0.001637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249787 LIMIT 2 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249787 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9254138 LIMIT 4 [ RunTime:0.000704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254138 ORDER BY `minOrder` ASC [ RunTime:0.004082s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9254138 ORDER BY `unit` DESC [ RunTime:0.001540s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9254138 LIMIT 2 [ RunTime:0.002392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254138 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9254139 LIMIT 4 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254139 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9254139 ORDER BY `unit` DESC [ RunTime:0.001288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9254139 LIMIT 2 [ RunTime:0.002175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254139 ORDER BY `minOrder` ASC [ RunTime:0.000906s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16984 LIMIT 4 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16984 ORDER BY `minOrder` ASC [ RunTime:0.001228s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16984 ORDER BY `unit` DESC [ RunTime:0.001199s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16984 LIMIT 2 [ RunTime:0.000452s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16984 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.000621s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000875s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002472s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.011149s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15966 LIMIT 4 [ RunTime:0.003838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.003779s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15966 ORDER BY `unit` DESC [ RunTime:0.000430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15966 LIMIT 2 [ RunTime:0.000523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.001779s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.000462s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9248622 LIMIT 4 [ RunTime:0.000703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248622 ORDER BY `minOrder` ASC [ RunTime:0.003178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9248622 ORDER BY `unit` DESC [ RunTime:0.000466s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9248622 LIMIT 2 [ RunTime:0.000750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248622 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29135 LIMIT 4 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29135 ORDER BY `minOrder` ASC [ RunTime:0.002617s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29135 ORDER BY `unit` DESC [ RunTime:0.002073s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29135 LIMIT 2 [ RunTime:0.000693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29135 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
select * from pdf where partno='AQV252GAX' and brandshort='PANASONIC' limit 1 [ RunTime:0.000692s ]
select foldpath,foldpath2,filename from pdf_file where id=1219900 limit 1 [ RunTime:0.002198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252GAX' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.016878s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19745 LIMIT 4 [ RunTime:0.004694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19745 ORDER BY `minOrder` ASC [ RunTime:0.004985s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19745 ORDER BY `unit` DESC [ RunTime:0.000678s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19745 LIMIT 2 [ RunTime:0.000609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19745 ORDER BY `minOrder` ASC [ RunTime:0.001282s ]
select * from pdf where partno='AQV252GAX' and brandshort='PANASONIC' limit 1 [ RunTime:0.000690s ]
select foldpath,foldpath2,filename from pdf_file where id=1219900 limit 1 [ RunTime:0.002579s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252GAX' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6841 LIMIT 4 [ RunTime:0.005200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6841 ORDER BY `minOrder` ASC [ RunTime:0.004885s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6841 ORDER BY `unit` DESC [ RunTime:0.004863s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6841 LIMIT 2 [ RunTime:0.004349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6841 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.000477s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000307s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9250421 LIMIT 4 [ RunTime:0.002010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250421 ORDER BY `minOrder` ASC [ RunTime:0.000568s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9250421 ORDER BY `unit` DESC [ RunTime:0.007081s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9250421 LIMIT 2 [ RunTime:0.000568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250421 ORDER BY `minOrder` ASC [ RunTime:0.001817s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251298 LIMIT 4 [ RunTime:0.000732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251298 ORDER BY `minOrder` ASC [ RunTime:0.000529s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251298 ORDER BY `unit` DESC [ RunTime:0.000918s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251298 LIMIT 2 [ RunTime:0.003514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251298 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251047 LIMIT 4 [ RunTime:0.000716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251047 ORDER BY `minOrder` ASC [ RunTime:0.001831s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251047 ORDER BY `unit` DESC [ RunTime:0.003583s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251047 LIMIT 2 [ RunTime:0.003850s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251047 ORDER BY `minOrder` ASC [ RunTime:0.003436s ]
select * from pdf where partno='AQV252G2SZ' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.001285s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'AQV252G%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000559s ]