SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001470s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000454s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001254s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000248s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001021s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000216s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 643 LIMIT 1 [ RunTime:0.000455s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 643 [ RunTime:0.000370s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000193s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001277s ]
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.001022s ]
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.010668s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5208 LIMIT 4 [ RunTime:0.000232s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5208 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000819s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5208 ORDER BY `unit` DESC [ RunTime:0.000174s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000782s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5208 LIMIT 2 [ RunTime:0.001327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5208 ORDER BY `minOrder` ASC [ RunTime:0.000563s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000939s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CH74-2032LF' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13969 LIMIT 4 [ RunTime:0.003918s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13969 ORDER BY `minOrder` ASC [ RunTime:0.005524s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13969 ORDER BY `unit` DESC [ RunTime:0.002457s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13969 LIMIT 2 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13969 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3003' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.001573s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1677 LIMIT 4 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1677 ORDER BY `minOrder` ASC [ RunTime:0.001944s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1677 ORDER BY `unit` DESC [ RunTime:0.000824s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1677 LIMIT 2 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1677 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '009155002201006' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.013388s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3595 LIMIT 4 [ RunTime:0.001110s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3595 ORDER BY `minOrder` ASC [ RunTime:0.002257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3595 ORDER BY `unit` DESC [ RunTime:0.007064s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3595 LIMIT 2 [ RunTime:0.009474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3595 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2460' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.001326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9058 LIMIT 4 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058 ORDER BY `minOrder` ASC [ RunTime:0.001896s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9058 ORDER BY `unit` DESC [ RunTime:0.000878s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9058 LIMIT 2 [ RunTime:0.001745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058 ORDER BY `minOrder` ASC [ RunTime:0.001816s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SPV1040T' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000778s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1006 LIMIT 4 [ RunTime:0.002557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1006 ORDER BY `minOrder` ASC [ RunTime:0.000689s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1006 ORDER BY `unit` DESC [ RunTime:0.003647s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1006 LIMIT 2 [ RunTime:0.002233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1006 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
select * from pdf where partno='BX0023' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.012548s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BX0023' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.009319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3093 LIMIT 4 [ RunTime:0.007123s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3093 ORDER BY `minOrder` ASC [ RunTime:0.017711s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3093 ORDER BY `unit` DESC [ RunTime:0.001742s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3093 LIMIT 2 [ RunTime:0.006818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3093 ORDER BY `minOrder` ASC [ RunTime:0.002044s ]
select * from pdf where partno='228' and brandshort='KEYSTONE' limit 1 [ RunTime:0.008773s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '228' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.003316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4504 LIMIT 4 [ RunTime:0.000802s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4504 ORDER BY `minOrder` ASC [ RunTime:0.002582s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4504 ORDER BY `unit` DESC [ RunTime:0.000379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4504 LIMIT 2 [ RunTime:0.000632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4504 ORDER BY `minOrder` ASC [ RunTime:0.004592s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STC3100IST' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.036370s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14641 LIMIT 4 [ RunTime:0.014867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14641 ORDER BY `minOrder` ASC [ RunTime:0.007135s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14641 ORDER BY `unit` DESC [ RunTime:0.013317s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14641 LIMIT 2 [ RunTime:0.002010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14641 ORDER BY `minOrder` ASC [ RunTime:0.002072s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9155005003016' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.005208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10463 LIMIT 4 [ RunTime:0.010242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10463 ORDER BY `minOrder` ASC [ RunTime:0.000444s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10463 ORDER BY `unit` DESC [ RunTime:0.000405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10463 LIMIT 2 [ RunTime:0.000469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10463 ORDER BY `minOrder` ASC [ RunTime:0.001489s ]
select * from pdf where partno='BX0037' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.001169s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BX0037' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.001832s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4816 LIMIT 4 [ RunTime:0.009175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816 ORDER BY `minOrder` ASC [ RunTime:0.001725s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4816 ORDER BY `unit` DESC [ RunTime:0.007531s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4816 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BCR20H5E' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.012773s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1574 LIMIT 4 [ RunTime:0.001467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1574 ORDER BY `minOrder` ASC [ RunTime:0.001437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1574 ORDER BY `unit` DESC [ RunTime:0.000694s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1574 LIMIT 2 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1574 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HU2032-LF' OR `brand` LIKE 'RENATA%' ) ) LIMIT 1 [ RunTime:0.000900s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5137 LIMIT 4 [ RunTime:0.000586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5137 ORDER BY `minOrder` ASC [ RunTime:0.001997s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5137 ORDER BY `unit` DESC [ RunTime:0.000963s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5137 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5137 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5787446-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5549 LIMIT 4 [ RunTime:0.001626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5549 ORDER BY `minOrder` ASC [ RunTime:0.001280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5549 ORDER BY `unit` DESC [ RunTime:0.000991s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5549 LIMIT 2 [ RunTime:0.000737s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5549 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S8411-45R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.001072s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3094 LIMIT 4 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.000557s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3094 ORDER BY `unit` DESC [ RunTime:0.001213s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3094 LIMIT 2 [ RunTime:0.002748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.003312s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.002276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.007404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1627 LIMIT 4 [ RunTime:0.003082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1627 ORDER BY `minOrder` ASC [ RunTime:0.000957s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1627 ORDER BY `unit` DESC [ RunTime:0.000450s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1627 LIMIT 2 [ RunTime:0.000346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1627 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP73831T-2ACI/OT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.012249s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10787 LIMIT 4 [ RunTime:0.000659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10787 ORDER BY `minOrder` ASC [ RunTime:0.001815s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10787 ORDER BY `unit` DESC [ RunTime:0.000521s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10787 LIMIT 2 [ RunTime:0.001471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10787 ORDER BY `minOrder` ASC [ RunTime:0.000884s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP000322' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000720s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17005 LIMIT 4 [ RunTime:0.002658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17005 ORDER BY `minOrder` ASC [ RunTime:0.000497s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17005 ORDER BY `unit` DESC [ RunTime:0.001941s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17005 LIMIT 2 [ RunTime:0.000474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17005 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
select * from pdf where partno='STC3100IST' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001552s ]
select foldpath,foldpath2,filename from pdf_file where id=784856 limit 1 [ RunTime:0.000973s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STC3100IST' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001032s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16913 LIMIT 4 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16913 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16913 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16913 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16913 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
select * from pdf where partno='MAX77860EWG+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.000305s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX77860EWG+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16874 LIMIT 4 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16874 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16874 ORDER BY `unit` DESC [ RunTime:0.000243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16874 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16874 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
select * from pdf where partno='CH74-2032LF' and brandshort='MULTICOMP' limit 1 [ RunTime:0.000322s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CH74-2032LF' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000242s ]
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.001089s ]