SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001363s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000429s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001181s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.166' ) [ RunTime:0.000233s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000902s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000190s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000192s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000150s ]
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.000274s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001080s ]
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 '724%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 160,20 [ RunTime:0.027330s ]
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 ('8683042','8682205','8682091','8681872','8681695','8681575','8680858','8678461','8673489','8673428','8673425','8673422','8673295','7809462','7809461','7809460','7809459','7809458','7809457','7809456') ORDER BY FIELD(s.id, 8683042,8682205,8682091,8681872,8681695,8681575,8680858,8678461,8673489,8673428,8673425,8673422,8673295,7809462,7809461,7809460,7809459,7809458,7809457,7809456) [ RunTime:0.009013s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8683042 LIMIT 4 [ RunTime:0.002913s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8683042 ORDER BY `minOrder` ASC [ RunTime:0.002841s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003507s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8683042 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000959s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8683042 LIMIT 2 [ RunTime:0.001540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8683042 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
select * from pdf where partno='724296' and brandshort='3M' limit 1 [ RunTime:0.001642s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8682205 LIMIT 4 [ RunTime:0.001940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8682205 ORDER BY `minOrder` ASC [ RunTime:0.002080s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8682205 ORDER BY `unit` DESC [ RunTime:0.001816s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8682205 LIMIT 2 [ RunTime:0.001609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8682205 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8682091 LIMIT 4 [ RunTime:0.001370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8682091 ORDER BY `minOrder` ASC [ RunTime:0.000980s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8682091 ORDER BY `unit` DESC [ RunTime:0.000855s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8682091 LIMIT 2 [ RunTime:0.000524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8682091 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
select * from pdf where partno='724277' and brandshort='3M' limit 1 [ RunTime:0.000647s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8681872 LIMIT 4 [ RunTime:0.006888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8681872 ORDER BY `minOrder` ASC [ RunTime:0.002408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8681872 ORDER BY `unit` DESC [ RunTime:0.003782s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8681872 LIMIT 2 [ RunTime:0.000571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8681872 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8681695 LIMIT 4 [ RunTime:0.000829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8681695 ORDER BY `minOrder` ASC [ RunTime:0.000566s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8681695 ORDER BY `unit` DESC [ RunTime:0.000535s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8681695 LIMIT 2 [ RunTime:0.006593s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8681695 ORDER BY `minOrder` ASC [ RunTime:0.000509s ]
select * from pdf where partno='724280' and brandshort='3M' limit 1 [ RunTime:0.007070s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8681575 LIMIT 4 [ RunTime:0.001575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8681575 ORDER BY `minOrder` ASC [ RunTime:0.000644s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8681575 ORDER BY `unit` DESC [ RunTime:0.001285s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8681575 LIMIT 2 [ RunTime:0.000815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8681575 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
select * from pdf where partno='724275' and brandshort='3M' limit 1 [ RunTime:0.000841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8680858 LIMIT 4 [ RunTime:0.000773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8680858 ORDER BY `minOrder` ASC [ RunTime:0.000678s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8680858 ORDER BY `unit` DESC [ RunTime:0.000614s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8680858 LIMIT 2 [ RunTime:0.002341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8680858 ORDER BY `minOrder` ASC [ RunTime:0.001126s ]
select * from pdf where partno='724738' and brandshort='3M' limit 1 [ RunTime:0.001480s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8678461 LIMIT 4 [ RunTime:0.001512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8678461 ORDER BY `minOrder` ASC [ RunTime:0.002656s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8678461 ORDER BY `unit` DESC [ RunTime:0.002898s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8678461 LIMIT 2 [ RunTime:0.002430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8678461 ORDER BY `minOrder` ASC [ RunTime:0.000451s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8673489 LIMIT 4 [ RunTime:0.000849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673489 ORDER BY `minOrder` ASC [ RunTime:0.000489s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8673489 ORDER BY `unit` DESC [ RunTime:0.000500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8673489 LIMIT 2 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673489 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
select * from pdf where partno='7245E' and brandshort='Excelta Corporation' limit 1 [ RunTime:0.002625s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8673428 LIMIT 4 [ RunTime:0.004300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673428 ORDER BY `minOrder` ASC [ RunTime:0.000510s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8673428 ORDER BY `unit` DESC [ RunTime:0.000407s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8673428 LIMIT 2 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673428 ORDER BY `minOrder` ASC [ RunTime:0.000990s ]
select * from pdf where partno='7248E' and brandshort='Excelta Corporation' limit 1 [ RunTime:0.001546s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8673425 LIMIT 4 [ RunTime:0.000686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673425 ORDER BY `minOrder` ASC [ RunTime:0.000503s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8673425 ORDER BY `unit` DESC [ RunTime:0.000468s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8673425 LIMIT 2 [ RunTime:0.001642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673425 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
select * from pdf where partno='7241E' and brandshort='Excelta Corporation' limit 1 [ RunTime:0.004260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8673422 LIMIT 4 [ RunTime:0.001736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673422 ORDER BY `minOrder` ASC [ RunTime:0.000651s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8673422 ORDER BY `unit` DESC [ RunTime:0.000497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8673422 LIMIT 2 [ RunTime:0.000462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673422 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
select * from pdf where partno='7243E' and brandshort='Excelta Corporation' limit 1 [ RunTime:0.002101s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8673295 LIMIT 4 [ RunTime:0.001932s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673295 ORDER BY `minOrder` ASC [ RunTime:0.003183s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8673295 ORDER BY `unit` DESC [ RunTime:0.000488s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8673295 LIMIT 2 [ RunTime:0.000647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673295 ORDER BY `minOrder` ASC [ RunTime:0.001076s ]
select * from pdf where partno='7247E' and brandshort='Excelta Corporation' limit 1 [ RunTime:0.001895s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809462 LIMIT 4 [ RunTime:0.000939s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809462 ORDER BY `minOrder` ASC [ RunTime:0.003758s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809462 ORDER BY `unit` DESC [ RunTime:0.001468s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809462 LIMIT 2 [ RunTime:0.002732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809462 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809461 LIMIT 4 [ RunTime:0.000504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809461 ORDER BY `minOrder` ASC [ RunTime:0.000764s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809461 ORDER BY `unit` DESC [ RunTime:0.001795s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809461 LIMIT 2 [ RunTime:0.004592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809461 ORDER BY `minOrder` ASC [ RunTime:0.001271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809460 LIMIT 4 [ RunTime:0.002139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809460 ORDER BY `minOrder` ASC [ RunTime:0.001908s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809460 ORDER BY `unit` DESC [ RunTime:0.002254s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809460 LIMIT 2 [ RunTime:0.000409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809460 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809459 LIMIT 4 [ RunTime:0.005536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809459 ORDER BY `minOrder` ASC [ RunTime:0.002274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809459 ORDER BY `unit` DESC [ RunTime:0.000562s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809459 LIMIT 2 [ RunTime:0.003392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809459 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809458 LIMIT 4 [ RunTime:0.002377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809458 ORDER BY `minOrder` ASC [ RunTime:0.000813s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809458 ORDER BY `unit` DESC [ RunTime:0.000447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809458 LIMIT 2 [ RunTime:0.000448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809458 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809457 LIMIT 4 [ RunTime:0.000461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809457 ORDER BY `minOrder` ASC [ RunTime:0.004340s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809457 ORDER BY `unit` DESC [ RunTime:0.001029s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809457 LIMIT 2 [ RunTime:0.001787s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809457 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809456 LIMIT 4 [ RunTime:0.000438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809456 ORDER BY `minOrder` ASC [ RunTime:0.000455s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809456 ORDER BY `unit` DESC [ RunTime:0.001254s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809456 LIMIT 2 [ RunTime:0.002863s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809456 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '724%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004177s ]