SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002792s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000504s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002041s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.188' ) [ RunTime:0.000333s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001973s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000276s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 204 LIMIT 1 [ RunTime:0.000315s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 204 [ RunTime:0.000220s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 27 [ RunTime:0.000261s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002015s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 204 ) [ RunTime:0.003401s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 204 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003880s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001803s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6040 LIMIT 4 [ RunTime:0.002418s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6040 ORDER BY `minOrder` ASC [ RunTime:0.006909s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002121s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6040 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001636s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6040 LIMIT 2 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6040 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001684s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LAN8710AI-EZK' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1699 LIMIT 4 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1699 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1699 ORDER BY `unit` DESC [ RunTime:0.000225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1699 LIMIT 2 [ RunTime:0.000217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1699 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '67803-8020' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14733 LIMIT 4 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14733 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14733 ORDER BY `unit` DESC [ RunTime:0.000229s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14733 LIMIT 2 [ RunTime:0.000222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14733 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '54819-0519....' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10704 LIMIT 4 [ RunTime:0.005831s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10704 ORDER BY `minOrder` ASC [ RunTime:0.002072s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10704 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10704 LIMIT 2 [ RunTime:0.001934s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10704 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
select * from pdf where partno='ASM-1900147-21' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000580s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASM-1900147-21' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000567s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12691 LIMIT 4 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12691 ORDER BY `minOrder` ASC [ RunTime:0.000840s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12691 ORDER BY `unit` DESC [ RunTime:0.000448s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12691 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12691 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMTH8028LPSWQ-13' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 657 LIMIT 4 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 657 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 657 ORDER BY `unit` DESC [ RunTime:0.000367s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 657 LIMIT 2 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 657 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '565790519' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10817 LIMIT 4 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10817 ORDER BY `minOrder` ASC [ RunTime:0.000601s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10817 ORDER BY `unit` DESC [ RunTime:0.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10817 LIMIT 2 [ RunTime:0.000524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10817 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI4B_CASE_RED/WHITE' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.000383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14734 LIMIT 4 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14734 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14734 ORDER BY `unit` DESC [ RunTime:0.000370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14734 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14734 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '54819-0572' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3296 LIMIT 4 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3296 ORDER BY `minOrder` ASC [ RunTime:0.007250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3296 ORDER BY `unit` DESC [ RunTime:0.000371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3296 LIMIT 2 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3296 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '244-11300-15' OR `brand` LIKE 'EPT%' ) ) LIMIT 1 [ RunTime:0.000379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 658 LIMIT 4 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 658 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 658 ORDER BY `unit` DESC [ RunTime:0.000378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 658 LIMIT 2 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 658 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
select * from pdf where partno='67503-1020...' and brandshort='MOLEX' limit 1 [ RunTime:0.000613s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '67503-1020...' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10872 LIMIT 4 [ RunTime:0.003178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10872 ORDER BY `minOrder` ASC [ RunTime:0.005087s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10872 ORDER BY `unit` DESC [ RunTime:0.001681s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10872 LIMIT 2 [ RunTime:0.000568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10872 ORDER BY `minOrder` ASC [ RunTime:0.002264s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'USB3320C-EZK-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000418s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10715 LIMIT 4 [ RunTime:0.002298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10715 ORDER BY `minOrder` ASC [ RunTime:0.002899s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10715 ORDER BY `unit` DESC [ RunTime:0.000446s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10715 LIMIT 2 [ RunTime:0.003045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10715 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T7733AX' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.000401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6042 LIMIT 4 [ RunTime:0.001696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6042 ORDER BY `minOrder` ASC [ RunTime:0.005874s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6042 ORDER BY `unit` DESC [ RunTime:0.000435s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6042 LIMIT 2 [ RunTime:0.000587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6042 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LAN8720AI-CP' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12655 LIMIT 4 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12655 ORDER BY `minOrder` ASC [ RunTime:0.002068s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12655 ORDER BY `unit` DESC [ RunTime:0.001115s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12655 LIMIT 2 [ RunTime:0.001898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12655 ORDER BY `minOrder` ASC [ RunTime:0.002313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RPI 8MP CAMERA BOARD' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.000405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10714 LIMIT 4 [ RunTime:0.000566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10714 ORDER BY `minOrder` ASC [ RunTime:0.005456s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10714 ORDER BY `unit` DESC [ RunTime:0.000424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10714 LIMIT 2 [ RunTime:0.002530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10714 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
select * from pdf where partno='T7732AX' and brandshort='RASPBERRY-PI' limit 1 [ RunTime:0.000563s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T7732AX' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.000411s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5275 LIMIT 4 [ RunTime:0.002409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5275 ORDER BY `minOrder` ASC [ RunTime:0.000648s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5275 ORDER BY `unit` DESC [ RunTime:0.000391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5275 LIMIT 2 [ RunTime:0.000609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5275 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
select * from pdf where partno='74437324082' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000507s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74437324082' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3298 LIMIT 4 [ RunTime:0.000522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3298 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3298 ORDER BY `unit` DESC [ RunTime:0.000372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3298 LIMIT 2 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3298 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '244-23300-15' OR `brand` LIKE 'EPT%' ) ) LIMIT 1 [ RunTime:0.000372s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10424 LIMIT 4 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10424 ORDER BY `minOrder` ASC [ RunTime:0.000576s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10424 ORDER BY `unit` DESC [ RunTime:0.006053s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10424 LIMIT 2 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10424 ORDER BY `minOrder` ASC [ RunTime:0.004276s ]
select * from pdf where partno='TLE2142IP' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.000553s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE2142IP' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.000511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12663 LIMIT 4 [ RunTime:0.003699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12663 ORDER BY `minOrder` ASC [ RunTime:0.000939s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12663 ORDER BY `unit` DESC [ RunTime:0.004457s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12663 LIMIT 2 [ RunTime:0.002959s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12663 ORDER BY `minOrder` ASC [ RunTime:0.003633s ]
select * from pdf where partno='S0971-46R' and brandshort='HARWIN' limit 1 [ RunTime:0.000573s ]
select foldpath,foldpath2,filename from pdf_file where id=2133181 limit 1 [ RunTime:0.000374s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S0971-46R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.000397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3620 LIMIT 4 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3620 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3620 ORDER BY `unit` DESC [ RunTime:0.000380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3620 LIMIT 2 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3620 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '75586-0010' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000404s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 204 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.006970s ]