SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001949s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.008589s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002038s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.004645s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002171s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001189s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.004628s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000255s ]
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.001382s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002730s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.001040s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 9940,20 [ RunTime:0.085708s ]
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 = 1) ) AND `s`.`id` IN ('3021','270','10507947','10490360','10492623','5395','4170','10505774','10097953','11885','7282','1607','526','397','10504694','769','10725','4872','6109','9446') ORDER BY FIELD(s.id, 3021,270,10507947,10490360,10492623,5395,4170,10505774,10097953,11885,7282,1607,526,397,10504694,769,10725,4872,6109,9446) [ RunTime:0.019423s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001896s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3021 LIMIT 4 [ RunTime:0.008997s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004096s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3021 ORDER BY `minOrder` ASC [ RunTime:0.008285s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001865s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3021 ORDER BY `unit` DESC [ RunTime:0.002650s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001696s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3021 LIMIT 2 [ RunTime:0.001276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3021 ORDER BY `minOrder` ASC [ RunTime:0.003431s ]
select * from pdf where partno='742792310' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.003502s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003001s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '742792310' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.006167s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 270 LIMIT 4 [ RunTime:0.003762s ]
SELECT * FROM `stock_price` WHERE `stockid` = 270 ORDER BY `minOrder` ASC [ RunTime:0.007767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 270 ORDER BY `unit` DESC [ RunTime:0.000730s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 270 LIMIT 2 [ RunTime:0.004003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 270 ORDER BY `minOrder` ASC [ RunTime:0.008970s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5787834-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.005152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10507947 LIMIT 4 [ RunTime:0.009160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10507947 ORDER BY `minOrder` ASC [ RunTime:0.001406s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10507947 ORDER BY `unit` DESC [ RunTime:0.003062s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10507947 LIMIT 2 [ RunTime:0.000756s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10507947 ORDER BY `minOrder` ASC [ RunTime:0.000508s ]
select * from pdf where partno='CGA7K1X7R3D471M130KA' and brandshort='TDK Corporation' limit 1 [ RunTime:0.005229s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10490360 LIMIT 4 [ RunTime:0.004160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10490360 ORDER BY `minOrder` ASC [ RunTime:0.003090s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10490360 ORDER BY `unit` DESC [ RunTime:0.006104s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10490360 LIMIT 2 [ RunTime:0.004050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10490360 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10492623 LIMIT 4 [ RunTime:0.000957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10492623 ORDER BY `minOrder` ASC [ RunTime:0.004256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10492623 ORDER BY `unit` DESC [ RunTime:0.004981s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10492623 LIMIT 2 [ RunTime:0.006278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10492623 ORDER BY `minOrder` ASC [ RunTime:0.007627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5395 LIMIT 4 [ RunTime:0.008868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5395 ORDER BY `minOrder` ASC [ RunTime:0.017326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5395 ORDER BY `unit` DESC [ RunTime:0.006033s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5395 LIMIT 2 [ RunTime:0.004687s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5395 ORDER BY `minOrder` ASC [ RunTime:0.008220s ]
select * from pdf where partno='ASE-50.000MHZ-L-C-T' and brandshort='ABRACON' limit 1 [ RunTime:0.005432s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASE-50.000MHZ-L-C-T' OR `brand` LIKE 'ABRACON%' ) ) LIMIT 1 [ RunTime:0.015599s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4170 LIMIT 4 [ RunTime:0.008136s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4170 ORDER BY `minOrder` ASC [ RunTime:0.008788s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4170 ORDER BY `unit` DESC [ RunTime:0.008074s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4170 LIMIT 2 [ RunTime:0.006596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4170 ORDER BY `minOrder` ASC [ RunTime:0.000814s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GRM32ER71A476KE15L' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.005367s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10505774 LIMIT 4 [ RunTime:0.011927s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10505774 ORDER BY `minOrder` ASC [ RunTime:0.000645s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10505774 ORDER BY `unit` DESC [ RunTime:0.008803s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10505774 LIMIT 2 [ RunTime:0.002338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10505774 ORDER BY `minOrder` ASC [ RunTime:0.003226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10097953 LIMIT 4 [ RunTime:0.003283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10097953 ORDER BY `minOrder` ASC [ RunTime:0.002493s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10097953 ORDER BY `unit` DESC [ RunTime:0.000365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10097953 LIMIT 2 [ RunTime:0.000820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10097953 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11885 LIMIT 4 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11885 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11885 ORDER BY `unit` DESC [ RunTime:0.000381s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11885 LIMIT 2 [ RunTime:0.000362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11885 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
select * from pdf where partno='AC0603FR-07200RL' and brandshort='YAGEO' limit 1 [ RunTime:0.004337s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AC0603FR-07200RL' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.006030s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7282 LIMIT 4 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7282 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7282 ORDER BY `unit` DESC [ RunTime:0.004739s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7282 LIMIT 2 [ RunTime:0.004070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7282 ORDER BY `minOrder` ASC [ RunTime:0.008645s ]
select * from pdf where partno='MCWR06X2002FTL' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.004042s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCWR06X2002FTL' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.006272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1607 LIMIT 4 [ RunTime:0.012576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1607 ORDER BY `minOrder` ASC [ RunTime:0.012727s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1607 ORDER BY `unit` DESC [ RunTime:0.023648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1607 LIMIT 2 [ RunTime:0.013294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1607 ORDER BY `minOrder` ASC [ RunTime:0.010916s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4N35' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.018193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 526 LIMIT 4 [ RunTime:0.002867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 526 ORDER BY `minOrder` ASC [ RunTime:0.007363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 526 ORDER BY `unit` DESC [ RunTime:0.005697s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 526 LIMIT 2 [ RunTime:0.005203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 526 ORDER BY `minOrder` ASC [ RunTime:0.001105s ]
select * from pdf where partno='SR201E104MAR' and brandshort='KYOCERA AVX' limit 1 [ RunTime:0.007014s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SR201E104MAR' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.014227s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 397 LIMIT 4 [ RunTime:0.008473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 397 ORDER BY `minOrder` ASC [ RunTime:0.011659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 397 ORDER BY `unit` DESC [ RunTime:0.010867s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 397 LIMIT 2 [ RunTime:0.012337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 397 ORDER BY `minOrder` ASC [ RunTime:0.007107s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1473005-4' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.006356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10504694 LIMIT 4 [ RunTime:0.001683s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10504694 ORDER BY `minOrder` ASC [ RunTime:0.000721s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10504694 ORDER BY `unit` DESC [ RunTime:0.003959s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10504694 LIMIT 2 [ RunTime:0.012690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10504694 ORDER BY `minOrder` ASC [ RunTime:0.004753s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 769 LIMIT 4 [ RunTime:0.002943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 769 ORDER BY `minOrder` ASC [ RunTime:0.000714s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 769 ORDER BY `unit` DESC [ RunTime:0.003788s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 769 LIMIT 2 [ RunTime:0.000983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 769 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L-59EGC' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.005548s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10725 LIMIT 4 [ RunTime:0.010770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10725 ORDER BY `minOrder` ASC [ RunTime:0.009016s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10725 ORDER BY `unit` DESC [ RunTime:0.004952s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10725 LIMIT 2 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10725 ORDER BY `minOrder` ASC [ RunTime:0.003230s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '46999-0294' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.011945s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4872 LIMIT 4 [ RunTime:0.004738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4872 ORDER BY `minOrder` ASC [ RunTime:0.002243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4872 ORDER BY `unit` DESC [ RunTime:0.005786s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4872 LIMIT 2 [ RunTime:0.000680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4872 ORDER BY `minOrder` ASC [ RunTime:0.004214s ]
select * from pdf where partno='IHLP3232DZER220M11.' and brandshort='VISHAY' limit 1 [ RunTime:0.009477s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IHLP3232DZER220M11.' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.014277s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6109 LIMIT 4 [ RunTime:0.008451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6109 ORDER BY `minOrder` ASC [ RunTime:0.000642s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6109 ORDER BY `unit` DESC [ RunTime:0.008973s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6109 LIMIT 2 [ RunTime:0.007118s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6109 ORDER BY `minOrder` ASC [ RunTime:0.002215s ]
select * from pdf where partno='770017-1' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.002244s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '770017-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.018217s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9446 LIMIT 4 [ RunTime:0.007504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9446 ORDER BY `minOrder` ASC [ RunTime:0.010501s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9446 ORDER BY `unit` DESC [ RunTime:0.011353s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9446 LIMIT 2 [ RunTime:0.001128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9446 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
select * from pdf where partno='MICRF113YM6-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.006223s ]
select foldpath,foldpath2,filename from pdf_file where id=1817651 limit 1 [ RunTime:0.017865s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MICRF113YM6-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.035730s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.010655s ]