SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001217s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000434s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001746s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000560s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002162s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000365s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 643 LIMIT 1 [ RunTime:0.000368s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 643 [ RunTime:0.000225s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000222s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002067s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 643 ) [ RunTime:0.001571s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 643 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015027s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001934s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5208 LIMIT 4 [ RunTime:0.002490s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5208 ORDER BY `minOrder` ASC [ RunTime:0.003420s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5208 ORDER BY `unit` DESC [ RunTime:0.001619s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001815s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5208 LIMIT 2 [ RunTime:0.000421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5208 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001741s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CH74-2032LF' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.007033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13969 LIMIT 4 [ RunTime:0.004191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13969 ORDER BY `minOrder` ASC [ RunTime:0.000510s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13969 ORDER BY `unit` DESC [ RunTime:0.000487s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13969 LIMIT 2 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13969 ORDER BY `minOrder` ASC [ RunTime:0.002443s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3003' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.003824s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1677 LIMIT 4 [ RunTime:0.003574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1677 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1677 ORDER BY `unit` DESC [ RunTime:0.001247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1677 LIMIT 2 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1677 ORDER BY `minOrder` ASC [ RunTime:0.001997s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '009155002201006' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.009128s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3595 LIMIT 4 [ RunTime:0.000742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3595 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3595 ORDER BY `unit` DESC [ RunTime:0.002225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3595 LIMIT 2 [ RunTime:0.004972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3595 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2460' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.004206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9058 LIMIT 4 [ RunTime:0.001499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9058 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9058 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058 ORDER BY `minOrder` ASC [ RunTime:0.002236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SPV1040T' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.005850s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1006 LIMIT 4 [ RunTime:0.003306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1006 ORDER BY `minOrder` ASC [ RunTime:0.001466s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1006 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1006 LIMIT 2 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1006 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
select * from pdf where partno='BX0023' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.001615s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BX0023' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.004160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3093 LIMIT 4 [ RunTime:0.001846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3093 ORDER BY `minOrder` ASC [ RunTime:0.000530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3093 ORDER BY `unit` DESC [ RunTime:0.000569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3093 LIMIT 2 [ RunTime:0.000459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3093 ORDER BY `minOrder` ASC [ RunTime:0.002216s ]
select * from pdf where partno='228' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000943s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '228' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.004888s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4504 LIMIT 4 [ RunTime:0.001915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4504 ORDER BY `minOrder` ASC [ RunTime:0.001548s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4504 ORDER BY `unit` DESC [ RunTime:0.000408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4504 LIMIT 2 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4504 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STC3100IST' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000807s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14641 LIMIT 4 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14641 ORDER BY `minOrder` ASC [ RunTime:0.006686s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14641 ORDER BY `unit` DESC [ RunTime:0.002501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14641 LIMIT 2 [ RunTime:0.001494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14641 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9155005003016' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.005645s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10463 LIMIT 4 [ RunTime:0.000462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10463 ORDER BY `minOrder` ASC [ RunTime:0.000485s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10463 ORDER BY `unit` DESC [ RunTime:0.000392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10463 LIMIT 2 [ RunTime:0.006976s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10463 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
select * from pdf where partno='BX0037' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.003396s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BX0037' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000549s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4816 LIMIT 4 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4816 ORDER BY `unit` DESC [ RunTime:0.000260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4816 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BCR20H5E' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1574 LIMIT 4 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1574 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1574 ORDER BY `unit` DESC [ RunTime:0.000222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1574 LIMIT 2 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1574 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HU2032-LF' OR `brand` LIKE 'RENATA%' ) ) LIMIT 1 [ RunTime:0.000267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5137 LIMIT 4 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5137 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5137 ORDER BY `unit` DESC [ RunTime:0.000216s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5137 LIMIT 2 [ RunTime:0.000213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5137 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5787446-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5549 LIMIT 4 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5549 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5549 ORDER BY `unit` DESC [ RunTime:0.000254s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5549 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5549 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S8411-45R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3094 LIMIT 4 [ RunTime:0.000475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.002847s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3094 ORDER BY `unit` DESC [ RunTime:0.006075s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3094 LIMIT 2 [ RunTime:0.002705s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.001874s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.001635s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.007146s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1627 LIMIT 4 [ RunTime:0.003128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1627 ORDER BY `minOrder` ASC [ RunTime:0.001817s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1627 ORDER BY `unit` DESC [ RunTime:0.000683s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1627 LIMIT 2 [ RunTime:0.000502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1627 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP73831T-2ACI/OT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.025527s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10787 LIMIT 4 [ RunTime:0.003331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10787 ORDER BY `minOrder` ASC [ RunTime:0.001860s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10787 ORDER BY `unit` DESC [ RunTime:0.000624s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10787 LIMIT 2 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10787 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP000322' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001029s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17005 LIMIT 4 [ RunTime:0.000567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17005 ORDER BY `minOrder` ASC [ RunTime:0.002202s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17005 ORDER BY `unit` DESC [ RunTime:0.002982s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17005 LIMIT 2 [ RunTime:0.001581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17005 ORDER BY `minOrder` ASC [ RunTime:0.000425s ]
select * from pdf where partno='STC3100IST' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001539s ]
select foldpath,foldpath2,filename from pdf_file where id=784856 limit 1 [ RunTime:0.001815s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STC3100IST' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16913 LIMIT 4 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16913 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16913 ORDER BY `unit` DESC [ RunTime:0.000386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16913 LIMIT 2 [ RunTime:0.000362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16913 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
select * from pdf where partno='MAX77860EWG+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.000302s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX77860EWG+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000327s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16874 LIMIT 4 [ RunTime:0.002825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16874 ORDER BY `minOrder` ASC [ RunTime:0.001602s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16874 ORDER BY `unit` DESC [ RunTime:0.000502s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16874 LIMIT 2 [ RunTime:0.000480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16874 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
select * from pdf where partno='CH74-2032LF' and brandshort='MULTICOMP' limit 1 [ RunTime:0.000975s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CH74-2032LF' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000741s ]
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.001613s ]