SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.013009s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.007206s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002309s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.011927s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001922s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.005695s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 621 LIMIT 1 [ RunTime:0.015311s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 621 [ RunTime:0.001088s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.001996s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001949s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 621 ) AND `u`.`lockUser` = '0' [ RunTime:0.017606s ]
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` = 621 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026376s ]
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 ('10080','923','705','15218','15113','12595','704','3384','10079','3466','8769','9744','11679','14469','11678','12780','6684','703','12870','706') ORDER BY FIELD(s.id, 10080,923,705,15218,15113,12595,704,3384,10079,3466,8769,9744,11679,14469,11678,12780,6684,703,12870,706) [ RunTime:0.036737s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004472s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10080 LIMIT 4 [ RunTime:0.015842s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10080 ORDER BY `minOrder` ASC [ RunTime:0.006480s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001131s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10080 ORDER BY `unit` DESC [ RunTime:0.007387s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001141s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10080 LIMIT 2 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10080 ORDER BY `minOrder` ASC [ RunTime:0.000610s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001085s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '760390014' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.016315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 923 LIMIT 4 [ RunTime:0.001840s ]
SELECT * FROM `stock_price` WHERE `stockid` = 923 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 923 ORDER BY `unit` DESC [ RunTime:0.005117s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 923 LIMIT 2 [ RunTime:0.008388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 923 ORDER BY `minOrder` ASC [ RunTime:0.002805s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OEP8000' OR `brand` LIKE 'OEP (OXFORD ELECTRICAL PRODUCTS)%' ) ) LIMIT 1 [ RunTime:0.005457s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 705 LIMIT 4 [ RunTime:0.008017s ]
SELECT * FROM `stock_price` WHERE `stockid` = 705 ORDER BY `minOrder` ASC [ RunTime:0.000504s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 705 ORDER BY `unit` DESC [ RunTime:0.000268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 705 LIMIT 2 [ RunTime:0.002549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 705 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FL2/12' OR `brand` LIKE 'BLOCK%' ) ) LIMIT 1 [ RunTime:0.006817s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15218 LIMIT 4 [ RunTime:0.004463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15218 ORDER BY `minOrder` ASC [ RunTime:0.022140s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15218 ORDER BY `unit` DESC [ RunTime:0.013607s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15218 LIMIT 2 [ RunTime:0.007813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15218 ORDER BY `minOrder` ASC [ RunTime:0.004601s ]
select * from pdf where partno='OEP8000' and brandshort='OEP OXFORD ELECTRICAL PRODUCTS' limit 1 [ RunTime:0.008680s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OEP8000' OR `brand` LIKE 'OEP (OXFORD ELECTRICAL PRODUCTS)%' ) ) LIMIT 1 [ RunTime:0.003806s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15113 LIMIT 4 [ RunTime:0.005803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15113 ORDER BY `minOrder` ASC [ RunTime:0.000806s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15113 ORDER BY `unit` DESC [ RunTime:0.001679s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15113 LIMIT 2 [ RunTime:0.000661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15113 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
select * from pdf where partno='OEP8000' and brandshort='OEP OXFORD ELECTRICAL PRODUCTS' limit 1 [ RunTime:0.000267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OEP8000' OR `brand` LIKE 'OEP (OXFORD ELECTRICAL PRODUCTS)%' ) ) LIMIT 1 [ RunTime:0.000174s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12595 LIMIT 4 [ RunTime:0.001490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12595 ORDER BY `minOrder` ASC [ RunTime:0.001947s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12595 ORDER BY `unit` DESC [ RunTime:0.000254s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12595 LIMIT 2 [ RunTime:0.005402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12595 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HHM1732B1' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.004895s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 704 LIMIT 4 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 704 ORDER BY `minOrder` ASC [ RunTime:0.002687s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 704 ORDER BY `unit` DESC [ RunTime:0.011690s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 704 LIMIT 2 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 704 ORDER BY `minOrder` ASC [ RunTime:0.002653s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P3356' OR `brand` LIKE 'ETAL%' ) ) LIMIT 1 [ RunTime:0.003615s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3384 LIMIT 4 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3384 ORDER BY `minOrder` ASC [ RunTime:0.001138s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3384 ORDER BY `unit` DESC [ RunTime:0.000249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3384 LIMIT 2 [ RunTime:0.000794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3384 ORDER BY `minOrder` ASC [ RunTime:0.002878s ]
select * from pdf where partno='VTX-110-006' and brandshort='VIGORTRONIX' limit 1 [ RunTime:0.001459s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VTX-110-006' OR `brand` LIKE 'VIGORTRONIX%' ) ) LIMIT 1 [ RunTime:0.000825s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10079 LIMIT 4 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10079 ORDER BY `minOrder` ASC [ RunTime:0.000997s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10079 ORDER BY `unit` DESC [ RunTime:0.005930s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10079 LIMIT 2 [ RunTime:0.000495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10079 ORDER BY `minOrder` ASC [ RunTime:0.001362s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '760390013' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000505s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3466 LIMIT 4 [ RunTime:0.001647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3466 ORDER BY `minOrder` ASC [ RunTime:0.001112s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3466 ORDER BY `unit` DESC [ RunTime:0.001156s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3466 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3466 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '44230' OR `brand` LIKE 'MYRRA%' ) ) LIMIT 1 [ RunTime:0.001074s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8769 LIMIT 4 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8769 ORDER BY `minOrder` ASC [ RunTime:0.000463s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8769 ORDER BY `unit` DESC [ RunTime:0.000406s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8769 LIMIT 2 [ RunTime:0.000760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8769 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
select * from pdf where partno='7490220123' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.002677s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '7490220123' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.001199s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9744 LIMIT 4 [ RunTime:0.000565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9744 ORDER BY `minOrder` ASC [ RunTime:0.003179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9744 ORDER BY `unit` DESC [ RunTime:0.002363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9744 LIMIT 2 [ RunTime:0.000600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9744 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IT313' OR `brand` LIKE 'SCHAFFNER%' ) ) LIMIT 1 [ RunTime:0.001464s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11679 LIMIT 4 [ RunTime:0.005313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11679 ORDER BY `minOrder` ASC [ RunTime:0.000929s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11679 ORDER BY `unit` DESC [ RunTime:0.007326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11679 LIMIT 2 [ RunTime:0.001983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11679 ORDER BY `minOrder` ASC [ RunTime:0.001233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ALT4532P-181-T05G' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.009325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14469 LIMIT 4 [ RunTime:0.000725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14469 ORDER BY `minOrder` ASC [ RunTime:0.000715s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14469 ORDER BY `unit` DESC [ RunTime:0.003020s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14469 LIMIT 2 [ RunTime:0.004359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14469 ORDER BY `minOrder` ASC [ RunTime:0.000448s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCTA050/25' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001874s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11678 LIMIT 4 [ RunTime:0.001976s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11678 ORDER BY `minOrder` ASC [ RunTime:0.008871s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11678 ORDER BY `unit` DESC [ RunTime:0.006261s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11678 LIMIT 2 [ RunTime:0.000766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11678 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B78416A2386A003' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.001436s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12780 LIMIT 4 [ RunTime:0.000628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12780 ORDER BY `minOrder` ASC [ RunTime:0.002026s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12780 ORDER BY `unit` DESC [ RunTime:0.004065s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12780 LIMIT 2 [ RunTime:0.003636s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12780 ORDER BY `minOrder` ASC [ RunTime:0.000518s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SM91519L-E' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.004411s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6684 LIMIT 4 [ RunTime:0.001875s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6684 ORDER BY `minOrder` ASC [ RunTime:0.002330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6684 ORDER BY `unit` DESC [ RunTime:0.002732s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6684 LIMIT 2 [ RunTime:0.002394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6684 ORDER BY `minOrder` ASC [ RunTime:0.000440s ]
select * from pdf where partno='LPR4012-202LMLB' and brandshort='COILCRAFT' limit 1 [ RunTime:0.002913s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPR4012-202LMLB' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.013834s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 703 LIMIT 4 [ RunTime:0.002548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 703 ORDER BY `minOrder` ASC [ RunTime:0.007019s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 703 ORDER BY `unit` DESC [ RunTime:0.003159s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 703 LIMIT 2 [ RunTime:0.001182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 703 ORDER BY `minOrder` ASC [ RunTime:0.000493s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P1200' OR `brand` LIKE 'ETAL%' ) ) LIMIT 1 [ RunTime:0.001322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12870 LIMIT 4 [ RunTime:0.001887s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12870 ORDER BY `minOrder` ASC [ RunTime:0.000907s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12870 ORDER BY `unit` DESC [ RunTime:0.000697s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12870 LIMIT 2 [ RunTime:0.000589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12870 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
select * from pdf where partno='B66387G1500X187' and brandshort='EPCOS' limit 1 [ RunTime:0.001478s ]
select foldpath,foldpath2,filename from pdf_file where id=1122529 limit 1 [ RunTime:0.001153s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B66387G1500X187' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.002446s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 706 LIMIT 4 [ RunTime:0.006122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 706 ORDER BY `minOrder` ASC [ RunTime:0.000708s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 706 ORDER BY `unit` DESC [ RunTime:0.001263s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 706 LIMIT 2 [ RunTime:0.001362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 706 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FL4/9' OR `brand` LIKE 'BLOCK%' ) ) LIMIT 1 [ RunTime:0.001715s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 621 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.005689s ]