SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001382s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000499s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001422s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.37' ) [ RunTime:0.000268s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001057s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000224s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000240s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000192s ]
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.000348s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001351s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `partno` LIKE 'G501%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003422s ]
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 IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('8563388','740','8562351','3939917','3939914','3939913','3939918','4573918','8834366','8557672','8556534','8556527','8556072','8556071','6994799','6934249','5972411','5972410','5972409','3776156') ORDER BY FIELD(s.id, 8563388,740,8562351,3939917,3939914,3939913,3939918,4573918,8834366,8557672,8556534,8556527,8556072,8556071,6994799,6934249,5972411,5972410,5972409,3776156) [ RunTime:0.005357s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001126s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8563388 LIMIT 4 [ RunTime:0.002464s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8563388 ORDER BY `minOrder` ASC [ RunTime:0.000636s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001061s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8563388 ORDER BY `unit` DESC [ RunTime:0.000272s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000797s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8563388 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8563388 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
select * from pdf where partno='G5015H24B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.001373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 740 LIMIT 4 [ RunTime:0.003415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 740 ORDER BY `minOrder` ASC [ RunTime:0.007094s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 740 ORDER BY `unit` DESC [ RunTime:0.001868s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 740 LIMIT 2 [ RunTime:0.001782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 740 ORDER BY `minOrder` ASC [ RunTime:0.000168s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001120s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G501' OR `brand` LIKE 'CML INNOVATIVE TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.002205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8562351 LIMIT 4 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8562351 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8562351 ORDER BY `unit` DESC [ RunTime:0.000233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8562351 LIMIT 2 [ RunTime:0.002296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8562351 ORDER BY `minOrder` ASC [ RunTime:0.003715s ]
select * from pdf where partno='G5015E12B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.000706s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3939917 LIMIT 4 [ RunTime:0.001881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939917 ORDER BY `minOrder` ASC [ RunTime:0.006553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3939917 ORDER BY `unit` DESC [ RunTime:0.002715s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3939917 LIMIT 2 [ RunTime:0.001882s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939917 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3939914 LIMIT 4 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939914 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3939914 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3939914 LIMIT 2 [ RunTime:0.002206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939914 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3939913 LIMIT 4 [ RunTime:0.000898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939913 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3939913 ORDER BY `unit` DESC [ RunTime:0.000381s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3939913 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939913 ORDER BY `minOrder` ASC [ RunTime:0.001035s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3939918 LIMIT 4 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939918 ORDER BY `minOrder` ASC [ RunTime:0.002121s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3939918 ORDER BY `unit` DESC [ RunTime:0.001353s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3939918 LIMIT 2 [ RunTime:0.002626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939918 ORDER BY `minOrder` ASC [ RunTime:0.000517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4573918 LIMIT 4 [ RunTime:0.001690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4573918 ORDER BY `minOrder` ASC [ RunTime:0.001114s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4573918 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4573918 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4573918 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
select * from pdf where partno='G5015M05B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.000489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8834366 LIMIT 4 [ RunTime:0.003512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8834366 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8834366 ORDER BY `unit` DESC [ RunTime:0.002138s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8834366 LIMIT 2 [ RunTime:0.006443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8834366 ORDER BY `minOrder` ASC [ RunTime:0.002906s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8557672 LIMIT 4 [ RunTime:0.007829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8557672 ORDER BY `minOrder` ASC [ RunTime:0.001824s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8557672 ORDER BY `unit` DESC [ RunTime:0.004016s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8557672 LIMIT 2 [ RunTime:0.001183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8557672 ORDER BY `minOrder` ASC [ RunTime:0.000584s ]
select * from pdf where partno='G5015L12B1+6-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.001111s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8556534 LIMIT 4 [ RunTime:0.000648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556534 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8556534 ORDER BY `unit` DESC [ RunTime:0.000402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8556534 LIMIT 2 [ RunTime:0.001327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556534 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
select * from pdf where partno='G5015E12B1-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.000749s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8556527 LIMIT 4 [ RunTime:0.004309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556527 ORDER BY `minOrder` ASC [ RunTime:0.008779s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8556527 ORDER BY `unit` DESC [ RunTime:0.001869s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8556527 LIMIT 2 [ RunTime:0.002788s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556527 ORDER BY `minOrder` ASC [ RunTime:0.001132s ]
select * from pdf where partno='G5015H12B1-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.002837s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8556072 LIMIT 4 [ RunTime:0.001012s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556072 ORDER BY `minOrder` ASC [ RunTime:0.004229s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8556072 ORDER BY `unit` DESC [ RunTime:0.004017s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8556072 LIMIT 2 [ RunTime:0.002074s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556072 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
select * from pdf where partno='G5015S24B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.003127s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8556071 LIMIT 4 [ RunTime:0.000443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556071 ORDER BY `minOrder` ASC [ RunTime:0.001349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8556071 ORDER BY `unit` DESC [ RunTime:0.014343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8556071 LIMIT 2 [ RunTime:0.000469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556071 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
select * from pdf where partno='G5015H05B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.000968s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6994799 LIMIT 4 [ RunTime:0.003173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6994799 ORDER BY `minOrder` ASC [ RunTime:0.000481s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6994799 ORDER BY `unit` DESC [ RunTime:0.000329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6994799 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6994799 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6934249 LIMIT 4 [ RunTime:0.000494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6934249 ORDER BY `minOrder` ASC [ RunTime:0.002519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6934249 ORDER BY `unit` DESC [ RunTime:0.003360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6934249 LIMIT 2 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6934249 ORDER BY `minOrder` ASC [ RunTime:0.001237s ]
select * from pdf where partno='G5015E12B-RSR-CC' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.000828s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5972411 LIMIT 4 [ RunTime:0.001286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5972411 ORDER BY `minOrder` ASC [ RunTime:0.002205s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5972411 ORDER BY `unit` DESC [ RunTime:0.000418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5972411 LIMIT 2 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5972411 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
select * from pdf where partno='G5015M24B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.000846s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5972410 LIMIT 4 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5972410 ORDER BY `minOrder` ASC [ RunTime:0.004218s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5972410 ORDER BY `unit` DESC [ RunTime:0.000327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5972410 LIMIT 2 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5972410 ORDER BY `minOrder` ASC [ RunTime:0.001253s ]
select * from pdf where partno='G5015M12B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.000808s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5972409 LIMIT 4 [ RunTime:0.004411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5972409 ORDER BY `minOrder` ASC [ RunTime:0.001688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5972409 ORDER BY `unit` DESC [ RunTime:0.000350s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5972409 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5972409 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='G5015E24B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.000798s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3776156 LIMIT 4 [ RunTime:0.001693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3776156 ORDER BY `minOrder` ASC [ RunTime:0.001700s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3776156 ORDER BY `unit` DESC [ RunTime:0.000331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3776156 LIMIT 2 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3776156 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'G501%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002166s ]