SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001349s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000530s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001781s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.004301s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001272s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000244s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 643 LIMIT 1 [ RunTime:0.002596s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 643 [ RunTime:0.000192s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000183s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001480s ]
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.001321s ]
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.004244s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001648s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5208 LIMIT 4 [ RunTime:0.003785s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5208 ORDER BY `minOrder` ASC [ RunTime:0.011951s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004376s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5208 ORDER BY `unit` DESC [ RunTime:0.002364s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001724s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5208 LIMIT 2 [ RunTime:0.001250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5208 ORDER BY `minOrder` ASC [ RunTime:0.001476s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CH74-2032LF' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.002428s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13969 LIMIT 4 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13969 ORDER BY `minOrder` ASC [ RunTime:0.003068s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13969 ORDER BY `unit` DESC [ RunTime:0.000376s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13969 LIMIT 2 [ RunTime:0.000475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13969 ORDER BY `minOrder` ASC [ RunTime:0.000192s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3003' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.004671s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1677 LIMIT 4 [ RunTime:0.006290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1677 ORDER BY `minOrder` ASC [ RunTime:0.002438s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1677 ORDER BY `unit` DESC [ RunTime:0.007032s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1677 LIMIT 2 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1677 ORDER BY `minOrder` ASC [ RunTime:0.000673s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '009155002201006' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.008882s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3595 LIMIT 4 [ RunTime:0.007164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3595 ORDER BY `minOrder` ASC [ RunTime:0.002106s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3595 ORDER BY `unit` DESC [ RunTime:0.000656s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3595 LIMIT 2 [ RunTime:0.001938s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3595 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2460' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.007312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9058 LIMIT 4 [ RunTime:0.002857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058 ORDER BY `minOrder` ASC [ RunTime:0.002882s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9058 ORDER BY `unit` DESC [ RunTime:0.000320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9058 LIMIT 2 [ RunTime:0.000266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SPV1040T' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001600s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1006 LIMIT 4 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1006 ORDER BY `minOrder` ASC [ RunTime:0.000742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1006 ORDER BY `unit` DESC [ RunTime:0.005095s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1006 LIMIT 2 [ RunTime:0.011090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1006 ORDER BY `minOrder` ASC [ RunTime:0.004835s ]
select * from pdf where partno='BX0023' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.003000s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BX0023' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.009589s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3093 LIMIT 4 [ RunTime:0.006423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3093 ORDER BY `minOrder` ASC [ RunTime:0.006091s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3093 ORDER BY `unit` DESC [ RunTime:0.002812s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3093 LIMIT 2 [ RunTime:0.012806s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3093 ORDER BY `minOrder` ASC [ RunTime:0.002346s ]
select * from pdf where partno='228' and brandshort='KEYSTONE' limit 1 [ RunTime:0.004335s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '228' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.004463s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4504 LIMIT 4 [ RunTime:0.007334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4504 ORDER BY `minOrder` ASC [ RunTime:0.004789s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4504 ORDER BY `unit` DESC [ RunTime:0.003804s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4504 LIMIT 2 [ RunTime:0.005965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4504 ORDER BY `minOrder` ASC [ RunTime:0.002036s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STC3100IST' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.005080s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14641 LIMIT 4 [ RunTime:0.006861s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14641 ORDER BY `minOrder` ASC [ RunTime:0.003531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14641 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14641 LIMIT 2 [ RunTime:0.000893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14641 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9155005003016' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.007965s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10463 LIMIT 4 [ RunTime:0.005519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10463 ORDER BY `minOrder` ASC [ RunTime:0.005581s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10463 ORDER BY `unit` DESC [ RunTime:0.002007s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10463 LIMIT 2 [ RunTime:0.003497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10463 ORDER BY `minOrder` ASC [ RunTime:0.005400s ]
select * from pdf where partno='BX0037' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.005625s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BX0037' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.005276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4816 LIMIT 4 [ RunTime:0.003124s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816 ORDER BY `minOrder` ASC [ RunTime:0.000992s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4816 ORDER BY `unit` DESC [ RunTime:0.002558s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4816 LIMIT 2 [ RunTime:0.001760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816 ORDER BY `minOrder` ASC [ RunTime:0.000445s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BCR20H5E' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.010713s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1574 LIMIT 4 [ RunTime:0.006548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1574 ORDER BY `minOrder` ASC [ RunTime:0.012086s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1574 ORDER BY `unit` DESC [ RunTime:0.001402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1574 LIMIT 2 [ RunTime:0.003770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1574 ORDER BY `minOrder` ASC [ RunTime:0.004044s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HU2032-LF' OR `brand` LIKE 'RENATA%' ) ) LIMIT 1 [ RunTime:0.010207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5137 LIMIT 4 [ RunTime:0.002486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5137 ORDER BY `minOrder` ASC [ RunTime:0.001747s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5137 ORDER BY `unit` DESC [ RunTime:0.000638s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5137 LIMIT 2 [ RunTime:0.001510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5137 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5787446-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.005114s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5549 LIMIT 4 [ RunTime:0.005645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5549 ORDER BY `minOrder` ASC [ RunTime:0.003068s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5549 ORDER BY `unit` DESC [ RunTime:0.003262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5549 LIMIT 2 [ RunTime:0.003013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5549 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S8411-45R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.001508s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3094 LIMIT 4 [ RunTime:0.006108s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.003371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3094 ORDER BY `unit` DESC [ RunTime:0.006086s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3094 LIMIT 2 [ RunTime:0.000735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.004302s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.001162s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1627 LIMIT 4 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1627 ORDER BY `minOrder` ASC [ RunTime:0.002303s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1627 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1627 LIMIT 2 [ RunTime:0.002647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1627 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP73831T-2ACI/OT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.008519s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10787 LIMIT 4 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10787 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10787 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10787 LIMIT 2 [ RunTime:0.003251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10787 ORDER BY `minOrder` ASC [ RunTime:0.006405s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP000322' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.021598s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17005 LIMIT 4 [ RunTime:0.003905s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17005 ORDER BY `minOrder` ASC [ RunTime:0.000651s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17005 ORDER BY `unit` DESC [ RunTime:0.007377s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17005 LIMIT 2 [ RunTime:0.000644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17005 ORDER BY `minOrder` ASC [ RunTime:0.004991s ]
select * from pdf where partno='STC3100IST' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.009447s ]
select foldpath,foldpath2,filename from pdf_file where id=784856 limit 1 [ RunTime:0.006407s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STC3100IST' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.007432s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16913 LIMIT 4 [ RunTime:0.001685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16913 ORDER BY `minOrder` ASC [ RunTime:0.002189s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16913 ORDER BY `unit` DESC [ RunTime:0.003071s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16913 LIMIT 2 [ RunTime:0.003525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16913 ORDER BY `minOrder` ASC [ RunTime:0.000611s ]
select * from pdf where partno='MAX77860EWG+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.000373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX77860EWG+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000353s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16874 LIMIT 4 [ RunTime:0.005355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16874 ORDER BY `minOrder` ASC [ RunTime:0.010341s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16874 ORDER BY `unit` DESC [ RunTime:0.001284s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16874 LIMIT 2 [ RunTime:0.009442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16874 ORDER BY `minOrder` ASC [ RunTime:0.002490s ]
select * from pdf where partno='CH74-2032LF' and brandshort='MULTICOMP' limit 1 [ RunTime:0.001953s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CH74-2032LF' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000453s ]
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.003961s ]