SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002956s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003149s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001855s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000323s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001943s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000327s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 621 LIMIT 1 [ RunTime:0.000484s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 621 [ RunTime:0.002541s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000266s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001334s ]
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` = 621 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010227s ]
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 ('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.003472s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001912s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10080 LIMIT 4 [ RunTime:0.001654s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002936s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10080 ORDER BY `minOrder` ASC [ RunTime:0.008102s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10080 ORDER BY `unit` DESC [ RunTime:0.007929s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001104s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10080 LIMIT 2 [ RunTime:0.006542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10080 ORDER BY `minOrder` ASC [ RunTime:0.001602s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001009s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '760390014' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.007048s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 923 LIMIT 4 [ RunTime:0.003723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 923 ORDER BY `minOrder` ASC [ RunTime:0.003900s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 923 ORDER BY `unit` DESC [ RunTime:0.002841s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 923 LIMIT 2 [ RunTime:0.004236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 923 ORDER BY `minOrder` ASC [ RunTime:0.011211s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OEP8000' OR `brand` LIKE 'OEP (OXFORD ELECTRICAL PRODUCTS)%' ) ) LIMIT 1 [ RunTime:0.009941s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 705 LIMIT 4 [ RunTime:0.000668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 705 ORDER BY `minOrder` ASC [ RunTime:0.001286s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 705 ORDER BY `unit` DESC [ RunTime:0.001856s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 705 LIMIT 2 [ RunTime:0.002007s ]
SELECT * FROM `stock_price` WHERE `stockid` = 705 ORDER BY `minOrder` ASC [ RunTime:0.002583s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FL2/12' OR `brand` LIKE 'BLOCK%' ) ) LIMIT 1 [ RunTime:0.003669s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15218 LIMIT 4 [ RunTime:0.006772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15218 ORDER BY `minOrder` ASC [ RunTime:0.000525s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15218 ORDER BY `unit` DESC [ RunTime:0.004546s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15218 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15218 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
select * from pdf where partno='OEP8000' and brandshort='OEP OXFORD ELECTRICAL PRODUCTS' limit 1 [ RunTime:0.002370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OEP8000' OR `brand` LIKE 'OEP (OXFORD ELECTRICAL PRODUCTS)%' ) ) LIMIT 1 [ RunTime:0.000485s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15113 LIMIT 4 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15113 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15113 ORDER BY `unit` DESC [ RunTime:0.001037s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15113 LIMIT 2 [ RunTime:0.002262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15113 ORDER BY `minOrder` ASC [ RunTime:0.001305s ]
select * from pdf where partno='OEP8000' and brandshort='OEP OXFORD ELECTRICAL PRODUCTS' limit 1 [ RunTime:0.000379s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OEP8000' OR `brand` LIKE 'OEP (OXFORD ELECTRICAL PRODUCTS)%' ) ) LIMIT 1 [ RunTime:0.000266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12595 LIMIT 4 [ RunTime:0.002829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12595 ORDER BY `minOrder` ASC [ RunTime:0.014135s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12595 ORDER BY `unit` DESC [ RunTime:0.002588s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12595 LIMIT 2 [ RunTime:0.007464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12595 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HHM1732B1' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.011923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 704 LIMIT 4 [ RunTime:0.003054s ]
SELECT * FROM `stock_price` WHERE `stockid` = 704 ORDER BY `minOrder` ASC [ RunTime:0.001853s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 704 ORDER BY `unit` DESC [ RunTime:0.000397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 704 LIMIT 2 [ RunTime:0.002583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 704 ORDER BY `minOrder` ASC [ RunTime:0.003084s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P3356' OR `brand` LIKE 'ETAL%' ) ) LIMIT 1 [ RunTime:0.005334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3384 LIMIT 4 [ RunTime:0.001457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3384 ORDER BY `minOrder` ASC [ RunTime:0.001597s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3384 ORDER BY `unit` DESC [ RunTime:0.000513s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3384 LIMIT 2 [ RunTime:0.007740s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3384 ORDER BY `minOrder` ASC [ RunTime:0.001185s ]
select * from pdf where partno='VTX-110-006' and brandshort='VIGORTRONIX' limit 1 [ RunTime:0.001736s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VTX-110-006' OR `brand` LIKE 'VIGORTRONIX%' ) ) LIMIT 1 [ RunTime:0.008314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10079 LIMIT 4 [ RunTime:0.003099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10079 ORDER BY `minOrder` ASC [ RunTime:0.001094s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10079 ORDER BY `unit` DESC [ RunTime:0.000779s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10079 LIMIT 2 [ RunTime:0.002955s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10079 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '760390013' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000415s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3466 LIMIT 4 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3466 ORDER BY `minOrder` ASC [ RunTime:0.000621s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3466 ORDER BY `unit` DESC [ RunTime:0.002739s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3466 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3466 ORDER BY `minOrder` ASC [ RunTime:0.002373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '44230' OR `brand` LIKE 'MYRRA%' ) ) LIMIT 1 [ RunTime:0.001137s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8769 LIMIT 4 [ RunTime:0.001772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8769 ORDER BY `minOrder` ASC [ RunTime:0.002349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8769 ORDER BY `unit` DESC [ RunTime:0.001580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8769 LIMIT 2 [ RunTime:0.001265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8769 ORDER BY `minOrder` ASC [ RunTime:0.001056s ]
select * from pdf where partno='7490220123' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.002066s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '7490220123' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.001998s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9744 LIMIT 4 [ RunTime:0.001732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9744 ORDER BY `minOrder` ASC [ RunTime:0.000715s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9744 ORDER BY `unit` DESC [ RunTime:0.000839s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9744 LIMIT 2 [ RunTime:0.001126s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9744 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IT313' OR `brand` LIKE 'SCHAFFNER%' ) ) LIMIT 1 [ RunTime:0.001326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11679 LIMIT 4 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11679 ORDER BY `minOrder` ASC [ RunTime:0.000476s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11679 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11679 LIMIT 2 [ RunTime:0.001129s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11679 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ALT4532P-181-T05G' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.009461s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14469 LIMIT 4 [ RunTime:0.003821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14469 ORDER BY `minOrder` ASC [ RunTime:0.006213s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14469 ORDER BY `unit` DESC [ RunTime:0.006132s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14469 LIMIT 2 [ RunTime:0.000898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14469 ORDER BY `minOrder` ASC [ RunTime:0.001118s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCTA050/25' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000775s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11678 LIMIT 4 [ RunTime:0.001913s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11678 ORDER BY `minOrder` ASC [ RunTime:0.001114s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11678 ORDER BY `unit` DESC [ RunTime:0.000377s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11678 LIMIT 2 [ RunTime:0.003148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11678 ORDER BY `minOrder` ASC [ RunTime:0.001811s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B78416A2386A003' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000957s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12780 LIMIT 4 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12780 ORDER BY `minOrder` ASC [ RunTime:0.005333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12780 ORDER BY `unit` DESC [ RunTime:0.001835s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12780 LIMIT 2 [ RunTime:0.001557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12780 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SM91519L-E' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.003343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6684 LIMIT 4 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6684 ORDER BY `minOrder` ASC [ RunTime:0.000654s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6684 ORDER BY `unit` DESC [ RunTime:0.000552s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6684 LIMIT 2 [ RunTime:0.005771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6684 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
select * from pdf where partno='LPR4012-202LMLB' and brandshort='COILCRAFT' limit 1 [ RunTime:0.001209s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPR4012-202LMLB' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.003733s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 703 LIMIT 4 [ RunTime:0.002721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 703 ORDER BY `minOrder` ASC [ RunTime:0.001989s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 703 ORDER BY `unit` DESC [ RunTime:0.001141s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 703 LIMIT 2 [ RunTime:0.000873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 703 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P1200' OR `brand` LIKE 'ETAL%' ) ) LIMIT 1 [ RunTime:0.001114s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12870 LIMIT 4 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12870 ORDER BY `minOrder` ASC [ RunTime:0.000538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12870 ORDER BY `unit` DESC [ RunTime:0.000958s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12870 LIMIT 2 [ RunTime:0.001940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12870 ORDER BY `minOrder` ASC [ RunTime:0.000912s ]
select * from pdf where partno='B66387G1500X187' and brandshort='EPCOS' limit 1 [ RunTime:0.004183s ]
select foldpath,foldpath2,filename from pdf_file where id=1122529 limit 1 [ RunTime:0.000560s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B66387G1500X187' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.001092s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 706 LIMIT 4 [ RunTime:0.004253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 706 ORDER BY `minOrder` ASC [ RunTime:0.001677s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 706 ORDER BY `unit` DESC [ RunTime:0.007389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 706 LIMIT 2 [ RunTime:0.000775s ]
SELECT * FROM `stock_price` WHERE `stockid` = 706 ORDER BY `minOrder` ASC [ RunTime:0.000469s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FL4/9' OR `brand` LIKE 'BLOCK%' ) ) LIMIT 1 [ RunTime:0.001080s ]
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.002010s ]