SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001075s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000437s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001173s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.101' ) [ RunTime:0.004829s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001371s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000202s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 204 LIMIT 1 [ RunTime:0.000277s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 204 [ RunTime:0.000189s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 27 [ RunTime:0.000187s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001256s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 204 ) AND `u`.`lockUser` = '0' [ RunTime:0.004188s ]
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 AND `categoryid` = 204 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002509s ]
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 ('6040','1699','14733','10704','12691','657','10817','14734','3296','658','10872','10715','6042','12655','10714','5275','3298','10424','12663','3620') ORDER BY FIELD(s.id, 6040,1699,14733,10704,12691,657,10817,14734,3296,658,10872,10715,6042,12655,10714,5275,3298,10424,12663,3620) [ RunTime:0.003104s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001881s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6040 LIMIT 4 [ RunTime:0.000806s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6040 ORDER BY `minOrder` ASC [ RunTime:0.000797s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005957s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6040 ORDER BY `unit` DESC [ RunTime:0.003453s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001018s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6040 LIMIT 2 [ RunTime:0.000635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6040 ORDER BY `minOrder` ASC [ RunTime:0.000192s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000883s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LAN8710AI-EZK' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.010353s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1699 LIMIT 4 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1699 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1699 ORDER BY `unit` DESC [ RunTime:0.005882s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1699 LIMIT 2 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1699 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '67803-8020' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.006552s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14733 LIMIT 4 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14733 ORDER BY `minOrder` ASC [ RunTime:0.002572s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14733 ORDER BY `unit` DESC [ RunTime:0.001971s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14733 LIMIT 2 [ RunTime:0.002282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14733 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '54819-0519....' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.006468s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10704 LIMIT 4 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10704 ORDER BY `minOrder` ASC [ RunTime:0.000575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10704 ORDER BY `unit` DESC [ RunTime:0.000954s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10704 LIMIT 2 [ RunTime:0.002009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10704 ORDER BY `minOrder` ASC [ RunTime:0.001078s ]
select * from pdf where partno='ASM-1900147-21' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.003248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASM-1900147-21' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.008777s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12691 LIMIT 4 [ RunTime:0.009591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12691 ORDER BY `minOrder` ASC [ RunTime:0.004966s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12691 ORDER BY `unit` DESC [ RunTime:0.000997s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12691 LIMIT 2 [ RunTime:0.002927s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12691 ORDER BY `minOrder` ASC [ RunTime:0.002676s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMTH8028LPSWQ-13' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001342s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 657 LIMIT 4 [ RunTime:0.004420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 657 ORDER BY `minOrder` ASC [ RunTime:0.001263s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 657 ORDER BY `unit` DESC [ RunTime:0.001960s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 657 LIMIT 2 [ RunTime:0.001708s ]
SELECT * FROM `stock_price` WHERE `stockid` = 657 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '565790519' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.013109s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10817 LIMIT 4 [ RunTime:0.000641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10817 ORDER BY `minOrder` ASC [ RunTime:0.000764s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10817 ORDER BY `unit` DESC [ RunTime:0.000612s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10817 LIMIT 2 [ RunTime:0.008522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10817 ORDER BY `minOrder` ASC [ RunTime:0.003434s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI4B_CASE_RED/WHITE' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.001312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14734 LIMIT 4 [ RunTime:0.002011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14734 ORDER BY `minOrder` ASC [ RunTime:0.010575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14734 ORDER BY `unit` DESC [ RunTime:0.002046s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14734 LIMIT 2 [ RunTime:0.002272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14734 ORDER BY `minOrder` ASC [ RunTime:0.000837s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '54819-0572' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.019406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3296 LIMIT 4 [ RunTime:0.000579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3296 ORDER BY `minOrder` ASC [ RunTime:0.002716s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3296 ORDER BY `unit` DESC [ RunTime:0.006704s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3296 LIMIT 2 [ RunTime:0.026284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3296 ORDER BY `minOrder` ASC [ RunTime:0.003192s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '244-11300-15' OR `brand` LIKE 'EPT%' ) ) LIMIT 1 [ RunTime:0.004143s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 658 LIMIT 4 [ RunTime:0.005265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 658 ORDER BY `minOrder` ASC [ RunTime:0.000835s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 658 ORDER BY `unit` DESC [ RunTime:0.002758s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 658 LIMIT 2 [ RunTime:0.008439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 658 ORDER BY `minOrder` ASC [ RunTime:0.004401s ]
select * from pdf where partno='67503-1020...' and brandshort='MOLEX' limit 1 [ RunTime:0.012736s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '67503-1020...' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.016162s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10872 LIMIT 4 [ RunTime:0.000769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10872 ORDER BY `minOrder` ASC [ RunTime:0.001305s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10872 ORDER BY `unit` DESC [ RunTime:0.001867s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10872 LIMIT 2 [ RunTime:0.005957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10872 ORDER BY `minOrder` ASC [ RunTime:0.003755s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'USB3320C-EZK-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.031214s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10715 LIMIT 4 [ RunTime:0.008921s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10715 ORDER BY `minOrder` ASC [ RunTime:0.000861s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10715 ORDER BY `unit` DESC [ RunTime:0.000763s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10715 LIMIT 2 [ RunTime:0.003051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10715 ORDER BY `minOrder` ASC [ RunTime:0.000570s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T7733AX' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.006627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6042 LIMIT 4 [ RunTime:0.012947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6042 ORDER BY `minOrder` ASC [ RunTime:0.003719s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6042 ORDER BY `unit` DESC [ RunTime:0.005958s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6042 LIMIT 2 [ RunTime:0.015223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6042 ORDER BY `minOrder` ASC [ RunTime:0.004917s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LAN8720AI-CP' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.025512s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12655 LIMIT 4 [ RunTime:0.006743s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12655 ORDER BY `minOrder` ASC [ RunTime:0.001270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12655 ORDER BY `unit` DESC [ RunTime:0.003269s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12655 LIMIT 2 [ RunTime:0.006702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12655 ORDER BY `minOrder` ASC [ RunTime:0.002418s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RPI 8MP CAMERA BOARD' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.003717s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10714 LIMIT 4 [ RunTime:0.008024s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10714 ORDER BY `minOrder` ASC [ RunTime:0.007850s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10714 ORDER BY `unit` DESC [ RunTime:0.002763s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10714 LIMIT 2 [ RunTime:0.008781s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10714 ORDER BY `minOrder` ASC [ RunTime:0.000446s ]
select * from pdf where partno='T7732AX' and brandshort='RASPBERRY-PI' limit 1 [ RunTime:0.005097s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T7732AX' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.000554s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5275 LIMIT 4 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5275 ORDER BY `minOrder` ASC [ RunTime:0.000551s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5275 ORDER BY `unit` DESC [ RunTime:0.001897s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5275 LIMIT 2 [ RunTime:0.002421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5275 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
select * from pdf where partno='74437324082' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.003194s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74437324082' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.001420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3298 LIMIT 4 [ RunTime:0.000518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3298 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3298 ORDER BY `unit` DESC [ RunTime:0.001845s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3298 LIMIT 2 [ RunTime:0.001304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3298 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '244-23300-15' OR `brand` LIKE 'EPT%' ) ) LIMIT 1 [ RunTime:0.003445s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10424 LIMIT 4 [ RunTime:0.002842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10424 ORDER BY `minOrder` ASC [ RunTime:0.000686s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10424 ORDER BY `unit` DESC [ RunTime:0.000417s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10424 LIMIT 2 [ RunTime:0.005006s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10424 ORDER BY `minOrder` ASC [ RunTime:0.000454s ]
select * from pdf where partno='TLE2142IP' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.004389s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE2142IP' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.003301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12663 LIMIT 4 [ RunTime:0.000551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12663 ORDER BY `minOrder` ASC [ RunTime:0.000618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12663 ORDER BY `unit` DESC [ RunTime:0.000946s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12663 LIMIT 2 [ RunTime:0.005917s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12663 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
select * from pdf where partno='S0971-46R' and brandshort='HARWIN' limit 1 [ RunTime:0.009700s ]
select foldpath,foldpath2,filename from pdf_file where id=2133181 limit 1 [ RunTime:0.004754s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S0971-46R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.009807s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3620 LIMIT 4 [ RunTime:0.000917s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3620 ORDER BY `minOrder` ASC [ RunTime:0.001613s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3620 ORDER BY `unit` DESC [ RunTime:0.007559s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3620 LIMIT 2 [ RunTime:0.009197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3620 ORDER BY `minOrder` ASC [ RunTime:0.002518s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '75586-0010' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.016479s ]
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.010850s ]