SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001181s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000474s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001495s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000312s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001443s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000252s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000321s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000186s ]
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.000559s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002732s ]
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.007278s ]
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.010017s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1632625 LIMIT 4 [ RunTime:0.000684s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632625 ORDER BY `minOrder` ASC [ RunTime:0.000575s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000827s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1632625 ORDER BY `unit` DESC [ RunTime:0.000319s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000840s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1632625 LIMIT 2 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632625 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3755300 LIMIT 4 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3755300 ORDER BY `minOrder` ASC [ RunTime:0.001402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3755300 ORDER BY `unit` DESC [ RunTime:0.005573s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3755300 LIMIT 2 [ RunTime:0.000751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3755300 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1744250 LIMIT 4 [ RunTime:0.000618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744250 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1744250 ORDER BY `unit` DESC [ RunTime:0.000311s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1744250 LIMIT 2 [ RunTime:0.001398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744250 ORDER BY `minOrder` ASC [ RunTime:0.001227s ]
select * from pdf where partno='3013' and brandshort='Adafruit Industries LLC' limit 1 [ RunTime:0.002814s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3094 LIMIT 4 [ RunTime:0.000774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.008802s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3094 ORDER BY `unit` DESC [ RunTime:0.001188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3094 LIMIT 2 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000649s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001241s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.001900s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16284 LIMIT 4 [ RunTime:0.001209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.002233s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16284 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16284 LIMIT 2 [ RunTime:0.000626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000393s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15264 LIMIT 4 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.001049s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15264 ORDER BY `unit` DESC [ RunTime:0.000392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15264 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000521s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000297s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4603243 LIMIT 4 [ RunTime:0.000836s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4603243 ORDER BY `minOrder` ASC [ RunTime:0.001011s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4603243 ORDER BY `unit` DESC [ RunTime:0.004785s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4603243 LIMIT 2 [ RunTime:0.004213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4603243 ORDER BY `minOrder` ASC [ RunTime:0.001388s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4698175 LIMIT 4 [ RunTime:0.009680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698175 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4698175 ORDER BY `unit` DESC [ RunTime:0.000336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4698175 LIMIT 2 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698175 ORDER BY `minOrder` ASC [ RunTime:0.003795s ]
select * from pdf where partno='30137-30' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.007409s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4702605 LIMIT 4 [ RunTime:0.002663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4702605 ORDER BY `minOrder` ASC [ RunTime:0.005796s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4702605 ORDER BY `unit` DESC [ RunTime:0.000609s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4702605 LIMIT 2 [ RunTime:0.002495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4702605 ORDER BY `minOrder` ASC [ RunTime:0.001270s ]
select * from pdf where partno='30138-30' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.000883s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4698176 LIMIT 4 [ RunTime:0.001833s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698176 ORDER BY `minOrder` ASC [ RunTime:0.001622s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4698176 ORDER BY `unit` DESC [ RunTime:0.007637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4698176 LIMIT 2 [ RunTime:0.023735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698176 ORDER BY `minOrder` ASC [ RunTime:0.005193s ]
select * from pdf where partno='30137-15' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.001801s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2314005 LIMIT 4 [ RunTime:0.003215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2314005 ORDER BY `minOrder` ASC [ RunTime:0.017569s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2314005 ORDER BY `unit` DESC [ RunTime:0.017964s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2314005 LIMIT 2 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2314005 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2294472 LIMIT 4 [ RunTime:0.000915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2294472 ORDER BY `minOrder` ASC [ RunTime:0.003212s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2294472 ORDER BY `unit` DESC [ RunTime:0.001876s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2294472 LIMIT 2 [ RunTime:0.015993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2294472 ORDER BY `minOrder` ASC [ RunTime:0.008808s ]
select * from pdf where partno='3013W3SCM99A10X' and brandshort='Amphenol CONEC' limit 1 [ RunTime:0.017900s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2319939 LIMIT 4 [ RunTime:0.008032s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2319939 ORDER BY `minOrder` ASC [ RunTime:0.003579s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2319939 ORDER BY `unit` DESC [ RunTime:0.008799s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2319939 LIMIT 2 [ RunTime:0.010657s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2319939 ORDER BY `minOrder` ASC [ RunTime:0.005987s ]
select * from pdf where partno='3013W6SXK99A10X' and brandshort='Amphenol CONEC' limit 1 [ RunTime:0.003224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3522868 LIMIT 4 [ RunTime:0.008410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3522868 ORDER BY `minOrder` ASC [ RunTime:0.000750s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3522868 ORDER BY `unit` DESC [ RunTime:0.005062s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3522868 LIMIT 2 [ RunTime:0.029732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3522868 ORDER BY `minOrder` ASC [ RunTime:0.002034s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3876713 LIMIT 4 [ RunTime:0.008773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876713 ORDER BY `minOrder` ASC [ RunTime:0.004442s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3876713 ORDER BY `unit` DESC [ RunTime:0.008842s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3876713 LIMIT 2 [ RunTime:0.000879s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876713 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
select * from pdf where partno='3013162002' and brandshort='Portescap' limit 1 [ RunTime:0.000558s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1827178 LIMIT 4 [ RunTime:0.002318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1827178 ORDER BY `minOrder` ASC [ RunTime:0.000680s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1827178 ORDER BY `unit` DESC [ RunTime:0.000658s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1827178 LIMIT 2 [ RunTime:0.000563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1827178 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
select * from pdf where partno='3013094' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.000830s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3876714 LIMIT 4 [ RunTime:0.002217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876714 ORDER BY `minOrder` ASC [ RunTime:0.006747s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3876714 ORDER BY `unit` DESC [ RunTime:0.002343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3876714 LIMIT 2 [ RunTime:0.005055s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876714 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
select * from pdf where partno='3013162001' and brandshort='Portescap' limit 1 [ RunTime:0.000773s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3671514 LIMIT 4 [ RunTime:0.002447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3671514 ORDER BY `minOrder` ASC [ RunTime:0.003647s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3671514 ORDER BY `unit` DESC [ RunTime:0.000576s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3671514 LIMIT 2 [ RunTime:0.001485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3671514 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2397620 LIMIT 4 [ RunTime:0.007729s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2397620 ORDER BY `minOrder` ASC [ RunTime:0.012009s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2397620 ORDER BY `unit` DESC [ RunTime:0.014757s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2397620 LIMIT 2 [ RunTime:0.004818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2397620 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9563764 LIMIT 4 [ RunTime:0.001068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9563764 ORDER BY `minOrder` ASC [ RunTime:0.000577s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9563764 ORDER BY `unit` DESC [ RunTime:0.000673s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9563764 LIMIT 2 [ RunTime:0.003978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9563764 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
select * from pdf where partno='3013-0-15-15-32-27-04-0' and brandshort='Mill-Max Manufacturing Corp.' limit 1 [ RunTime:0.002679s ]
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.005714s ]