SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001634s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000665s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001366s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.108' ) [ RunTime:0.000236s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000997s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000212s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 204 LIMIT 1 [ RunTime:0.000238s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 204 [ RunTime:0.001094s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 27 [ RunTime:0.000167s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001294s ]
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.001100s ]
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.001770s ]
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.002278s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001505s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6040 LIMIT 4 [ RunTime:0.001946s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6040 ORDER BY `minOrder` ASC [ RunTime:0.000538s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001252s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6040 ORDER BY `unit` DESC [ RunTime:0.000286s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002592s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6040 LIMIT 2 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6040 ORDER BY `minOrder` ASC [ RunTime:0.004912s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001226s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LAN8710AI-EZK' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.014885s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1699 LIMIT 4 [ RunTime:0.000678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1699 ORDER BY `minOrder` ASC [ RunTime:0.000438s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1699 ORDER BY `unit` DESC [ RunTime:0.001859s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1699 LIMIT 2 [ RunTime:0.003695s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1699 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '67803-8020' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.007240s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14733 LIMIT 4 [ RunTime:0.001800s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14733 ORDER BY `minOrder` ASC [ RunTime:0.002072s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14733 ORDER BY `unit` DESC [ RunTime:0.000420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14733 LIMIT 2 [ RunTime:0.001571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14733 ORDER BY `minOrder` ASC [ RunTime:0.004555s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '54819-0519....' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.007152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10704 LIMIT 4 [ RunTime:0.002876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10704 ORDER BY `minOrder` ASC [ RunTime:0.010032s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10704 ORDER BY `unit` DESC [ RunTime:0.006459s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10704 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10704 ORDER BY `minOrder` ASC [ RunTime:0.001685s ]
select * from pdf where partno='ASM-1900147-21' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.015474s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASM-1900147-21' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.010006s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12691 LIMIT 4 [ RunTime:0.008292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12691 ORDER BY `minOrder` ASC [ RunTime:0.013846s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12691 ORDER BY `unit` DESC [ RunTime:0.002709s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12691 LIMIT 2 [ RunTime:0.001026s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12691 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMTH8028LPSWQ-13' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 657 LIMIT 4 [ RunTime:0.000935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 657 ORDER BY `minOrder` ASC [ RunTime:0.000793s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 657 ORDER BY `unit` DESC [ RunTime:0.000689s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 657 LIMIT 2 [ RunTime:0.000767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 657 ORDER BY `minOrder` ASC [ RunTime:0.001731s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '565790519' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.014541s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10817 LIMIT 4 [ RunTime:0.001358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10817 ORDER BY `minOrder` ASC [ RunTime:0.002629s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10817 ORDER BY `unit` DESC [ RunTime:0.007122s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10817 LIMIT 2 [ RunTime:0.004197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10817 ORDER BY `minOrder` ASC [ RunTime:0.001739s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI4B_CASE_RED/WHITE' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.001151s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14734 LIMIT 4 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14734 ORDER BY `minOrder` ASC [ RunTime:0.001871s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14734 ORDER BY `unit` DESC [ RunTime:0.002730s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14734 LIMIT 2 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14734 ORDER BY `minOrder` ASC [ RunTime:0.002133s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '54819-0572' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.010953s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3296 LIMIT 4 [ RunTime:0.000433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3296 ORDER BY `minOrder` ASC [ RunTime:0.000901s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3296 ORDER BY `unit` DESC [ RunTime:0.001616s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3296 LIMIT 2 [ RunTime:0.001024s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3296 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '244-11300-15' OR `brand` LIKE 'EPT%' ) ) LIMIT 1 [ RunTime:0.003602s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 658 LIMIT 4 [ RunTime:0.001815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 658 ORDER BY `minOrder` ASC [ RunTime:0.001550s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 658 ORDER BY `unit` DESC [ RunTime:0.001270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 658 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 658 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
select * from pdf where partno='67503-1020...' and brandshort='MOLEX' limit 1 [ RunTime:0.001524s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '67503-1020...' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.012196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10872 LIMIT 4 [ RunTime:0.019492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10872 ORDER BY `minOrder` ASC [ RunTime:0.011007s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10872 ORDER BY `unit` DESC [ RunTime:0.002358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10872 LIMIT 2 [ RunTime:0.006886s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10872 ORDER BY `minOrder` ASC [ RunTime:0.002577s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'USB3320C-EZK-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.023849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10715 LIMIT 4 [ RunTime:0.012018s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10715 ORDER BY `minOrder` ASC [ RunTime:0.003959s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10715 ORDER BY `unit` DESC [ RunTime:0.001588s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10715 LIMIT 2 [ RunTime:0.001915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10715 ORDER BY `minOrder` ASC [ RunTime:0.005154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T7733AX' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.013955s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6042 LIMIT 4 [ RunTime:0.005811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6042 ORDER BY `minOrder` ASC [ RunTime:0.019510s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6042 ORDER BY `unit` DESC [ RunTime:0.007173s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6042 LIMIT 2 [ RunTime:0.024751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6042 ORDER BY `minOrder` ASC [ RunTime:0.004446s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LAN8720AI-CP' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.026722s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12655 LIMIT 4 [ RunTime:0.005462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12655 ORDER BY `minOrder` ASC [ RunTime:0.005172s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12655 ORDER BY `unit` DESC [ RunTime:0.027385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12655 LIMIT 2 [ RunTime:0.095669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12655 ORDER BY `minOrder` ASC [ RunTime:0.016032s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RPI 8MP CAMERA BOARD' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.013745s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10714 LIMIT 4 [ RunTime:0.014060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10714 ORDER BY `minOrder` ASC [ RunTime:0.008044s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10714 ORDER BY `unit` DESC [ RunTime:0.010141s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10714 LIMIT 2 [ RunTime:0.013251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10714 ORDER BY `minOrder` ASC [ RunTime:0.007439s ]
select * from pdf where partno='T7732AX' and brandshort='RASPBERRY-PI' limit 1 [ RunTime:0.009649s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T7732AX' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.021206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5275 LIMIT 4 [ RunTime:0.009914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5275 ORDER BY `minOrder` ASC [ RunTime:0.011580s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5275 ORDER BY `unit` DESC [ RunTime:0.001489s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5275 LIMIT 2 [ RunTime:0.003983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5275 ORDER BY `minOrder` ASC [ RunTime:0.003048s ]
select * from pdf where partno='74437324082' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.002956s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74437324082' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.004882s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3298 LIMIT 4 [ RunTime:0.002265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3298 ORDER BY `minOrder` ASC [ RunTime:0.000847s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3298 ORDER BY `unit` DESC [ RunTime:0.000278s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3298 LIMIT 2 [ RunTime:0.000815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3298 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '244-23300-15' OR `brand` LIKE 'EPT%' ) ) LIMIT 1 [ RunTime:0.000545s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10424 LIMIT 4 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10424 ORDER BY `minOrder` ASC [ RunTime:0.001987s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10424 ORDER BY `unit` DESC [ RunTime:0.003624s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10424 LIMIT 2 [ RunTime:0.001879s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10424 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
select * from pdf where partno='TLE2142IP' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.002121s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE2142IP' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.003488s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12663 LIMIT 4 [ RunTime:0.000652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12663 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12663 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12663 LIMIT 2 [ RunTime:0.003019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12663 ORDER BY `minOrder` ASC [ RunTime:0.000756s ]
select * from pdf where partno='S0971-46R' and brandshort='HARWIN' limit 1 [ RunTime:0.005240s ]
select foldpath,foldpath2,filename from pdf_file where id=2133181 limit 1 [ RunTime:0.002697s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S0971-46R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.003408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3620 LIMIT 4 [ RunTime:0.000631s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3620 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3620 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3620 LIMIT 2 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3620 ORDER BY `minOrder` ASC [ RunTime:0.001071s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '75586-0010' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000280s ]
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.001396s ]