SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002207s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002120s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002488s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000481s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002253s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000354s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000607s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000470s ]
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.009335s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001877s ]
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.458864s ]
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 9720,20 [ RunTime:0.041174s ]
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 ('10440361','10434891','6845','10754489','14471','7834','162','9419','8512','10431630','3567','10750844','10523233','10481729','10481718','10480592','10478376','10472083','10445911','10444781') ORDER BY FIELD(s.id, 10440361,10434891,6845,10754489,14471,7834,162,9419,8512,10431630,3567,10750844,10523233,10481729,10481718,10480592,10478376,10472083,10445911,10444781) [ RunTime:0.004370s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10440361 LIMIT 4 [ RunTime:0.005926s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10440361 ORDER BY `minOrder` ASC [ RunTime:0.000515s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003532s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10440361 ORDER BY `unit` DESC [ RunTime:0.003082s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003052s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10440361 LIMIT 2 [ RunTime:0.001588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10440361 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
select * from pdf where partno='CGJ6L4X7T2H104K160AA' and brandshort='TDK Corporation' limit 1 [ RunTime:0.008468s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10434891 LIMIT 4 [ RunTime:0.005624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10434891 ORDER BY `minOrder` ASC [ RunTime:0.000752s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10434891 ORDER BY `unit` DESC [ RunTime:0.000426s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10434891 LIMIT 2 [ RunTime:0.004544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10434891 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
select * from pdf where partno='FA16NP02A333JNU06' and brandshort='TDK Corporation' limit 1 [ RunTime:0.002670s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6845 LIMIT 4 [ RunTime:0.004478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6845 ORDER BY `minOrder` ASC [ RunTime:0.001189s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6845 ORDER BY `unit` DESC [ RunTime:0.001520s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6845 LIMIT 2 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6845 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001719s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '47272-0001...' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.006407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10754489 LIMIT 4 [ RunTime:0.000866s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10754489 ORDER BY `minOrder` ASC [ RunTime:0.004494s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10754489 ORDER BY `unit` DESC [ RunTime:0.001357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10754489 LIMIT 2 [ RunTime:0.002666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10754489 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
select * from pdf where partno='HR10-7R-4P(73)' and brandshort='Hirose Electric Co Ltd' limit 1 [ RunTime:0.008090s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14471 LIMIT 4 [ RunTime:0.007807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14471 ORDER BY `minOrder` ASC [ RunTime:0.000540s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14471 ORDER BY `unit` DESC [ RunTime:0.000282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14471 LIMIT 2 [ RunTime:0.006648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14471 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-66601-2.' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002884s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7834 LIMIT 4 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7834 ORDER BY `minOrder` ASC [ RunTime:0.002147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7834 ORDER BY `unit` DESC [ RunTime:0.006326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7834 LIMIT 2 [ RunTime:0.002337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7834 ORDER BY `minOrder` ASC [ RunTime:0.000193s ]
select * from pdf where partno='WR06X1002FTL' and brandshort='WALSIN' limit 1 [ RunTime:0.009948s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WR06X1002FTL' OR `brand` LIKE 'WALSIN%' ) ) LIMIT 1 [ RunTime:0.001943s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 162 LIMIT 4 [ RunTime:0.003716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 162 ORDER BY `minOrder` ASC [ RunTime:0.001789s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 162 ORDER BY `unit` DESC [ RunTime:0.000677s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 162 LIMIT 2 [ RunTime:0.000429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 162 ORDER BY `minOrder` ASC [ RunTime:0.001948s ]
select * from pdf where partno='M20-9990646' and brandshort='HARWIN' limit 1 [ RunTime:0.005778s ]
select foldpath,foldpath2,filename from pdf_file where id=1064501 limit 1 [ RunTime:0.000281s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M20-9990646' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.005631s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9419 LIMIT 4 [ RunTime:0.000877s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9419 ORDER BY `minOrder` ASC [ RunTime:0.002542s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9419 ORDER BY `unit` DESC [ RunTime:0.006255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9419 LIMIT 2 [ RunTime:0.000608s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9419 ORDER BY `minOrder` ASC [ RunTime:0.001419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STGW40H65DFB' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.005844s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8512 LIMIT 4 [ RunTime:0.001254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8512 ORDER BY `minOrder` ASC [ RunTime:0.000617s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8512 ORDER BY `unit` DESC [ RunTime:0.000611s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8512 LIMIT 2 [ RunTime:0.002499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8512 ORDER BY `minOrder` ASC [ RunTime:0.001127s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VS-MBRS140-M3/5BT' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.015541s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10431630 LIMIT 4 [ RunTime:0.002107s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10431630 ORDER BY `minOrder` ASC [ RunTime:0.003013s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10431630 ORDER BY `unit` DESC [ RunTime:0.001804s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10431630 LIMIT 2 [ RunTime:0.003173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10431630 ORDER BY `minOrder` ASC [ RunTime:0.001866s ]
select * from pdf where partno='FA11X7R1E475KNU06' and brandshort='TDK Corporation' limit 1 [ RunTime:0.006992s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3567 LIMIT 4 [ RunTime:0.002285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3567 ORDER BY `minOrder` ASC [ RunTime:0.001098s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3567 ORDER BY `unit` DESC [ RunTime:0.000703s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3567 LIMIT 2 [ RunTime:0.000622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3567 ORDER BY `minOrder` ASC [ RunTime:0.000940s ]
select * from pdf where partno='CLF"280"CTP' and brandshort='VCC VISUAL COMMUNICATIONS COMPANY' limit 1 [ RunTime:0.002809s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLF\"280\"CTP' OR `brand` LIKE 'VCC (VISUAL COMMUNICATIONS COMPANY)%' ) ) LIMIT 1 [ RunTime:0.000810s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10750844 LIMIT 4 [ RunTime:0.001080s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10750844 ORDER BY `minOrder` ASC [ RunTime:0.000542s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10750844 ORDER BY `unit` DESC [ RunTime:0.002145s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10750844 LIMIT 2 [ RunTime:0.002133s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10750844 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10523233 LIMIT 4 [ RunTime:0.003458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10523233 ORDER BY `minOrder` ASC [ RunTime:0.003554s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10523233 ORDER BY `unit` DESC [ RunTime:0.000566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10523233 LIMIT 2 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10523233 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
select * from pdf where partno='CGA6M3X7R2E104K200AA' and brandshort='TDK Corporation' limit 1 [ RunTime:0.003124s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10481729 LIMIT 4 [ RunTime:0.015149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10481729 ORDER BY `minOrder` ASC [ RunTime:0.000803s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10481729 ORDER BY `unit` DESC [ RunTime:0.000858s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10481729 LIMIT 2 [ RunTime:0.004732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10481729 ORDER BY `minOrder` ASC [ RunTime:0.002505s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10481718 LIMIT 4 [ RunTime:0.005516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10481718 ORDER BY `minOrder` ASC [ RunTime:0.006819s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10481718 ORDER BY `unit` DESC [ RunTime:0.002269s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10481718 LIMIT 2 [ RunTime:0.006648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10481718 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10480592 LIMIT 4 [ RunTime:0.003751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10480592 ORDER BY `minOrder` ASC [ RunTime:0.002412s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10480592 ORDER BY `unit` DESC [ RunTime:0.000650s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10480592 LIMIT 2 [ RunTime:0.000516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10480592 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10478376 LIMIT 4 [ RunTime:0.007374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10478376 ORDER BY `minOrder` ASC [ RunTime:0.003008s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10478376 ORDER BY `unit` DESC [ RunTime:0.002857s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10478376 LIMIT 2 [ RunTime:0.000750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10478376 ORDER BY `minOrder` ASC [ RunTime:0.009851s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10472083 LIMIT 4 [ RunTime:0.002647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10472083 ORDER BY `minOrder` ASC [ RunTime:0.003572s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10472083 ORDER BY `unit` DESC [ RunTime:0.002065s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10472083 LIMIT 2 [ RunTime:0.001994s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10472083 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10445911 LIMIT 4 [ RunTime:0.002854s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10445911 ORDER BY `minOrder` ASC [ RunTime:0.000875s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10445911 ORDER BY `unit` DESC [ RunTime:0.000542s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10445911 LIMIT 2 [ RunTime:0.001620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10445911 ORDER BY `minOrder` ASC [ RunTime:0.001381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10444781 LIMIT 4 [ RunTime:0.005123s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10444781 ORDER BY `minOrder` ASC [ RunTime:0.001203s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10444781 ORDER BY `unit` DESC [ RunTime:0.009798s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10444781 LIMIT 2 [ RunTime:0.001797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10444781 ORDER BY `minOrder` ASC [ RunTime:0.003440s ]
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.481732s ]