SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002174s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000538s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002646s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000389s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002225s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000334s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 643 LIMIT 1 [ RunTime:0.000465s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 643 [ RunTime:0.000280s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000266s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002368s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 643 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001708s ]
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 IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('5208','13969','1677','3595','9058','1006','3093','4504','14641','10463','4816','1574','5137','5549','3094','1627','10787','17005','16913','16874') ORDER BY FIELD(s.id, 5208,13969,1677,3595,9058,1006,3093,4504,14641,10463,4816,1574,5137,5549,3094,1627,10787,17005,16913,16874) [ RunTime:0.005555s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5208 LIMIT 4 [ RunTime:0.000485s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5208 ORDER BY `minOrder` ASC [ RunTime:0.000562s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006917s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5208 ORDER BY `unit` DESC [ RunTime:0.000763s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5208 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5208 ORDER BY `minOrder` ASC [ RunTime:0.001901s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001110s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CH74-2032LF' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.001004s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13969 LIMIT 4 [ RunTime:0.003925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13969 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13969 ORDER BY `unit` DESC [ RunTime:0.000285s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13969 LIMIT 2 [ RunTime:0.002289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13969 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3003' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.006416s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1677 LIMIT 4 [ RunTime:0.002903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1677 ORDER BY `minOrder` ASC [ RunTime:0.000493s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1677 ORDER BY `unit` DESC [ RunTime:0.000416s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1677 LIMIT 2 [ RunTime:0.005400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1677 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '009155002201006' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.005786s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3595 LIMIT 4 [ RunTime:0.002039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3595 ORDER BY `minOrder` ASC [ RunTime:0.000702s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3595 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3595 LIMIT 2 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3595 ORDER BY `minOrder` ASC [ RunTime:0.001756s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2460' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.008549s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9058 LIMIT 4 [ RunTime:0.001791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058 ORDER BY `minOrder` ASC [ RunTime:0.000493s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9058 ORDER BY `unit` DESC [ RunTime:0.003469s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9058 LIMIT 2 [ RunTime:0.002173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SPV1040T' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001084s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1006 LIMIT 4 [ RunTime:0.003274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1006 ORDER BY `minOrder` ASC [ RunTime:0.003604s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1006 ORDER BY `unit` DESC [ RunTime:0.007648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1006 LIMIT 2 [ RunTime:0.001545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1006 ORDER BY `minOrder` ASC [ RunTime:0.002014s ]
select * from pdf where partno='BX0023' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.004819s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BX0023' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.005179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3093 LIMIT 4 [ RunTime:0.001733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3093 ORDER BY `minOrder` ASC [ RunTime:0.006317s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3093 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3093 LIMIT 2 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3093 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
select * from pdf where partno='228' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '228' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4504 LIMIT 4 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4504 ORDER BY `minOrder` ASC [ RunTime:0.000684s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4504 ORDER BY `unit` DESC [ RunTime:0.007699s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4504 LIMIT 2 [ RunTime:0.011037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4504 ORDER BY `minOrder` ASC [ RunTime:0.016111s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STC3100IST' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.003958s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14641 LIMIT 4 [ RunTime:0.005239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14641 ORDER BY `minOrder` ASC [ RunTime:0.004062s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14641 ORDER BY `unit` DESC [ RunTime:0.003410s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14641 LIMIT 2 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14641 ORDER BY `minOrder` ASC [ RunTime:0.002004s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9155005003016' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.012291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10463 LIMIT 4 [ RunTime:0.001469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10463 ORDER BY `minOrder` ASC [ RunTime:0.001190s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10463 ORDER BY `unit` DESC [ RunTime:0.001011s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10463 LIMIT 2 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10463 ORDER BY `minOrder` ASC [ RunTime:0.003287s ]
select * from pdf where partno='BX0037' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.008997s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BX0037' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.008859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4816 LIMIT 4 [ RunTime:0.004023s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816 ORDER BY `minOrder` ASC [ RunTime:0.000842s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4816 ORDER BY `unit` DESC [ RunTime:0.003570s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4816 LIMIT 2 [ RunTime:0.004485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BCR20H5E' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.011842s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1574 LIMIT 4 [ RunTime:0.005450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1574 ORDER BY `minOrder` ASC [ RunTime:0.002833s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1574 ORDER BY `unit` DESC [ RunTime:0.000606s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1574 LIMIT 2 [ RunTime:0.003580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1574 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HU2032-LF' OR `brand` LIKE 'RENATA%' ) ) LIMIT 1 [ RunTime:0.005698s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5137 LIMIT 4 [ RunTime:0.008875s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5137 ORDER BY `minOrder` ASC [ RunTime:0.008473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5137 ORDER BY `unit` DESC [ RunTime:0.000597s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5137 LIMIT 2 [ RunTime:0.000774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5137 ORDER BY `minOrder` ASC [ RunTime:0.001597s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5787446-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5549 LIMIT 4 [ RunTime:0.010707s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5549 ORDER BY `minOrder` ASC [ RunTime:0.004105s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5549 ORDER BY `unit` DESC [ RunTime:0.006844s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5549 LIMIT 2 [ RunTime:0.002197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5549 ORDER BY `minOrder` ASC [ RunTime:0.003843s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S8411-45R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.002994s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3094 LIMIT 4 [ RunTime:0.000528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3094 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3094 LIMIT 2 [ RunTime:0.009785s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.003478s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.005950s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.003461s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1627 LIMIT 4 [ RunTime:0.000835s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1627 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1627 ORDER BY `unit` DESC [ RunTime:0.000430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1627 LIMIT 2 [ RunTime:0.003413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1627 ORDER BY `minOrder` ASC [ RunTime:0.007060s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP73831T-2ACI/OT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.022732s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10787 LIMIT 4 [ RunTime:0.000873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10787 ORDER BY `minOrder` ASC [ RunTime:0.003677s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10787 ORDER BY `unit` DESC [ RunTime:0.000854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10787 LIMIT 2 [ RunTime:0.000530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10787 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP000322' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.003009s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17005 LIMIT 4 [ RunTime:0.010553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17005 ORDER BY `minOrder` ASC [ RunTime:0.011300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17005 ORDER BY `unit` DESC [ RunTime:0.000524s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17005 LIMIT 2 [ RunTime:0.002036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17005 ORDER BY `minOrder` ASC [ RunTime:0.000557s ]
select * from pdf where partno='STC3100IST' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.003377s ]
select foldpath,foldpath2,filename from pdf_file where id=784856 limit 1 [ RunTime:0.001607s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STC3100IST' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16913 LIMIT 4 [ RunTime:0.004774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16913 ORDER BY `minOrder` ASC [ RunTime:0.002182s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16913 ORDER BY `unit` DESC [ RunTime:0.004194s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16913 LIMIT 2 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16913 ORDER BY `minOrder` ASC [ RunTime:0.001692s ]
select * from pdf where partno='MAX77860EWG+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.007519s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX77860EWG+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.001841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16874 LIMIT 4 [ RunTime:0.004177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16874 ORDER BY `minOrder` ASC [ RunTime:0.001460s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16874 ORDER BY `unit` DESC [ RunTime:0.000411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16874 LIMIT 2 [ RunTime:0.001129s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16874 ORDER BY `minOrder` ASC [ RunTime:0.002673s ]
select * from pdf where partno='CH74-2032LF' and brandshort='MULTICOMP' limit 1 [ RunTime:0.002243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CH74-2032LF' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000274s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 643 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001315s ]