SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002284s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000612s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002465s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.37' ) [ RunTime:0.000382s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002266s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000371s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000479s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000275s ]
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.001918s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001750s ]
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 '3013%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005916s ]
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 ('1632625','3755300','1744250','3094','16284','15264','4603243','4698175','4702605','4698176','2314005','2294472','2319939','3522868','3876713','1827178','3876714','3671514','2397620','9563764') ORDER BY FIELD(s.id, 1632625,3755300,1744250,3094,16284,15264,4603243,4698175,4702605,4698176,2314005,2294472,2319939,3522868,3876713,1827178,3876714,3671514,2397620,9563764) [ RunTime:0.006146s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001146s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1632625 LIMIT 4 [ RunTime:0.000548s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632625 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000845s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1632625 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000828s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1632625 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632625 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3755300 LIMIT 4 [ RunTime:0.000500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3755300 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3755300 ORDER BY `unit` DESC [ RunTime:0.000640s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3755300 LIMIT 2 [ RunTime:0.003362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3755300 ORDER BY `minOrder` ASC [ RunTime:0.001369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1744250 LIMIT 4 [ RunTime:0.000519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744250 ORDER BY `minOrder` ASC [ RunTime:0.001270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1744250 ORDER BY `unit` DESC [ RunTime:0.001260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1744250 LIMIT 2 [ RunTime:0.001237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744250 ORDER BY `minOrder` ASC [ RunTime:0.001055s ]
select * from pdf where partno='3013' and brandshort='Adafruit Industries LLC' limit 1 [ RunTime:0.001636s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3094 LIMIT 4 [ RunTime:0.000993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.003655s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3094 ORDER BY `unit` DESC [ RunTime:0.001863s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3094 LIMIT 2 [ RunTime:0.001969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.001415s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000584s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001093s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.001737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16284 LIMIT 4 [ RunTime:0.004207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.001881s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16284 ORDER BY `unit` DESC [ RunTime:0.001434s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16284 LIMIT 2 [ RunTime:0.001369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.001256s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.006562s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15264 LIMIT 4 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.007532s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15264 ORDER BY `unit` DESC [ RunTime:0.003230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15264 LIMIT 2 [ RunTime:0.002864s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.002753s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000462s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4603243 LIMIT 4 [ RunTime:0.000818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4603243 ORDER BY `minOrder` ASC [ RunTime:0.003538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4603243 ORDER BY `unit` DESC [ RunTime:0.001965s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4603243 LIMIT 2 [ RunTime:0.001638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4603243 ORDER BY `minOrder` ASC [ RunTime:0.001403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4698175 LIMIT 4 [ RunTime:0.000834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698175 ORDER BY `minOrder` ASC [ RunTime:0.002293s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4698175 ORDER BY `unit` DESC [ RunTime:0.002709s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4698175 LIMIT 2 [ RunTime:0.002050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698175 ORDER BY `minOrder` ASC [ RunTime:0.001651s ]
select * from pdf where partno='30137-30' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.001499s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4702605 LIMIT 4 [ RunTime:0.001381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4702605 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4702605 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4702605 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4702605 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
select * from pdf where partno='30138-30' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.000759s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4698176 LIMIT 4 [ RunTime:0.000983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698176 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4698176 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4698176 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698176 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
select * from pdf where partno='30137-15' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.000684s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2314005 LIMIT 4 [ RunTime:0.001113s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2314005 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2314005 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2314005 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2314005 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2294472 LIMIT 4 [ RunTime:0.000553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2294472 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2294472 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2294472 LIMIT 2 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2294472 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
select * from pdf where partno='3013W3SCM99A10X' and brandshort='Amphenol CONEC' limit 1 [ RunTime:0.001246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2319939 LIMIT 4 [ RunTime:0.001384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2319939 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2319939 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2319939 LIMIT 2 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2319939 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
select * from pdf where partno='3013W6SXK99A10X' and brandshort='Amphenol CONEC' limit 1 [ RunTime:0.000868s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3522868 LIMIT 4 [ RunTime:0.001766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3522868 ORDER BY `minOrder` ASC [ RunTime:0.000431s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3522868 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3522868 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3522868 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3876713 LIMIT 4 [ RunTime:0.000656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876713 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3876713 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3876713 LIMIT 2 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876713 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
select * from pdf where partno='3013162002' and brandshort='Portescap' limit 1 [ RunTime:0.000719s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1827178 LIMIT 4 [ RunTime:0.001954s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1827178 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1827178 ORDER BY `unit` DESC [ RunTime:0.000327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1827178 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1827178 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
select * from pdf where partno='3013094' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.000702s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3876714 LIMIT 4 [ RunTime:0.001545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876714 ORDER BY `minOrder` ASC [ RunTime:0.000426s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3876714 ORDER BY `unit` DESC [ RunTime:0.000418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3876714 LIMIT 2 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876714 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
select * from pdf where partno='3013162001' and brandshort='Portescap' limit 1 [ RunTime:0.000528s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3671514 LIMIT 4 [ RunTime:0.002212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3671514 ORDER BY `minOrder` ASC [ RunTime:0.000460s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3671514 ORDER BY `unit` DESC [ RunTime:0.000351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3671514 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3671514 ORDER BY `minOrder` ASC [ RunTime:0.000211s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2397620 LIMIT 4 [ RunTime:0.000602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2397620 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2397620 ORDER BY `unit` DESC [ RunTime:0.000338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2397620 LIMIT 2 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2397620 ORDER BY `minOrder` ASC [ RunTime:0.003859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9563764 LIMIT 4 [ RunTime:0.003128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9563764 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9563764 ORDER BY `unit` DESC [ RunTime:0.000301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9563764 LIMIT 2 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9563764 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
select * from pdf where partno='3013-0-15-15-32-27-04-0' and brandshort='Mill-Max Manufacturing Corp.' limit 1 [ RunTime:0.002864s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '3013%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001833s ]