SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002039s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000520s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002278s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.37' ) [ RunTime:0.000340s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002161s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000293s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000366s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000274s ]
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.000445s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002236s ]
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.014631s ]
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.006652s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8683042 LIMIT 4 [ RunTime:0.000600s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000946s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8683042 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8683042 ORDER BY `unit` DESC [ RunTime:0.000283s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004711s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8683042 LIMIT 2 [ RunTime:0.002012s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8683042 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
select * from pdf where partno='724296' and brandshort='3M' limit 1 [ RunTime:0.006891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8682205 LIMIT 4 [ RunTime:0.014254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8682205 ORDER BY `minOrder` ASC [ RunTime:0.000657s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8682205 ORDER BY `unit` DESC [ RunTime:0.000570s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8682205 LIMIT 2 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8682205 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8682091 LIMIT 4 [ RunTime:0.000662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8682091 ORDER BY `minOrder` ASC [ RunTime:0.012047s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8682091 ORDER BY `unit` DESC [ RunTime:0.001479s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8682091 LIMIT 2 [ RunTime:0.002121s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8682091 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
select * from pdf where partno='724277' and brandshort='3M' limit 1 [ RunTime:0.001412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8681872 LIMIT 4 [ RunTime:0.000798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8681872 ORDER BY `minOrder` ASC [ RunTime:0.000486s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8681872 ORDER BY `unit` DESC [ RunTime:0.001600s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8681872 LIMIT 2 [ RunTime:0.001135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8681872 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8681695 LIMIT 4 [ RunTime:0.000660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8681695 ORDER BY `minOrder` ASC [ RunTime:0.001319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8681695 ORDER BY `unit` DESC [ RunTime:0.001273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8681695 LIMIT 2 [ RunTime:0.001701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8681695 ORDER BY `minOrder` ASC [ RunTime:0.001456s ]
select * from pdf where partno='724280' and brandshort='3M' limit 1 [ RunTime:0.003957s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8681575 LIMIT 4 [ RunTime:0.001574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8681575 ORDER BY `minOrder` ASC [ RunTime:0.000525s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8681575 ORDER BY `unit` DESC [ RunTime:0.000628s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8681575 LIMIT 2 [ RunTime:0.000475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8681575 ORDER BY `minOrder` ASC [ RunTime:0.001896s ]
select * from pdf where partno='724275' and brandshort='3M' limit 1 [ RunTime:0.004757s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8680858 LIMIT 4 [ RunTime:0.000817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8680858 ORDER BY `minOrder` ASC [ RunTime:0.001401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8680858 ORDER BY `unit` DESC [ RunTime:0.005929s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8680858 LIMIT 2 [ RunTime:0.004384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8680858 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
select * from pdf where partno='724738' and brandshort='3M' limit 1 [ RunTime:0.004833s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8678461 LIMIT 4 [ RunTime:0.000896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8678461 ORDER BY `minOrder` ASC [ RunTime:0.007779s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8678461 ORDER BY `unit` DESC [ RunTime:0.000436s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8678461 LIMIT 2 [ RunTime:0.003672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8678461 ORDER BY `minOrder` ASC [ RunTime:0.004124s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8673489 LIMIT 4 [ RunTime:0.000660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673489 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8673489 ORDER BY `unit` DESC [ RunTime:0.000401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8673489 LIMIT 2 [ RunTime:0.001884s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673489 ORDER BY `minOrder` ASC [ RunTime:0.003631s ]
select * from pdf where partno='7245E' and brandshort='Excelta Corporation' limit 1 [ RunTime:0.003752s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8673428 LIMIT 4 [ RunTime:0.003465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673428 ORDER BY `minOrder` ASC [ RunTime:0.003300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8673428 ORDER BY `unit` DESC [ RunTime:0.011538s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8673428 LIMIT 2 [ RunTime:0.003702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673428 ORDER BY `minOrder` ASC [ RunTime:0.001693s ]
select * from pdf where partno='7248E' and brandshort='Excelta Corporation' limit 1 [ RunTime:0.000553s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8673425 LIMIT 4 [ RunTime:0.001007s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673425 ORDER BY `minOrder` ASC [ RunTime:0.000936s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8673425 ORDER BY `unit` DESC [ RunTime:0.000322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8673425 LIMIT 2 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673425 ORDER BY `minOrder` ASC [ RunTime:0.001463s ]
select * from pdf where partno='7241E' and brandshort='Excelta Corporation' limit 1 [ RunTime:0.001042s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8673422 LIMIT 4 [ RunTime:0.002337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673422 ORDER BY `minOrder` ASC [ RunTime:0.002512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8673422 ORDER BY `unit` DESC [ RunTime:0.005712s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8673422 LIMIT 2 [ RunTime:0.001936s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673422 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
select * from pdf where partno='7243E' and brandshort='Excelta Corporation' limit 1 [ RunTime:0.000892s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8673295 LIMIT 4 [ RunTime:0.000544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673295 ORDER BY `minOrder` ASC [ RunTime:0.004893s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8673295 ORDER BY `unit` DESC [ RunTime:0.001391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8673295 LIMIT 2 [ RunTime:0.001008s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8673295 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
select * from pdf where partno='7247E' and brandshort='Excelta Corporation' limit 1 [ RunTime:0.003391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809462 LIMIT 4 [ RunTime:0.000745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809462 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809462 ORDER BY `unit` DESC [ RunTime:0.000379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809462 LIMIT 2 [ RunTime:0.001454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809462 ORDER BY `minOrder` ASC [ RunTime:0.002940s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809461 LIMIT 4 [ RunTime:0.002234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809461 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809461 ORDER BY `unit` DESC [ RunTime:0.000415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809461 LIMIT 2 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809461 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809460 LIMIT 4 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809460 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809460 ORDER BY `unit` DESC [ RunTime:0.002089s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809460 LIMIT 2 [ RunTime:0.004557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809460 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809459 LIMIT 4 [ RunTime:0.002867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809459 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809459 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809459 LIMIT 2 [ RunTime:0.002483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809459 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809458 LIMIT 4 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809458 ORDER BY `minOrder` ASC [ RunTime:0.000926s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809458 ORDER BY `unit` DESC [ RunTime:0.002393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809458 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809458 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809457 LIMIT 4 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809457 ORDER BY `minOrder` ASC [ RunTime:0.004156s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809457 ORDER BY `unit` DESC [ RunTime:0.001100s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809457 LIMIT 2 [ RunTime:0.003871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809457 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7809456 LIMIT 4 [ RunTime:0.001330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809456 ORDER BY `minOrder` ASC [ RunTime:0.002488s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7809456 ORDER BY `unit` DESC [ RunTime:0.006543s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7809456 LIMIT 2 [ RunTime:0.000820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7809456 ORDER BY `minOrder` ASC [ RunTime:0.003091s ]
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.003831s ]