SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001964s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000538s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003628s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000413s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002169s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002159s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 432 LIMIT 1 [ RunTime:0.000355s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 432 [ RunTime:0.004315s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 40 [ RunTime:0.000321s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002451s ]
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` = 432 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001492s ]
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 ('6873','9623','5217','9184','12367','5706','9910','1628','8063','2840','4613','9182','2696','5707','10110','16758','16647','16614','15739','15628') ORDER BY FIELD(s.id, 6873,9623,5217,9184,12367,5706,9910,1628,8063,2840,4613,9182,2696,5707,10110,16758,16647,16614,15739,15628) [ RunTime:0.003964s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002070s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6873 LIMIT 4 [ RunTime:0.000308s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6873 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002262s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6873 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002029s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6873 LIMIT 2 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6873 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001897s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BDP,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.003233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9623 LIMIT 4 [ RunTime:0.000582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9623 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9623 ORDER BY `unit` DESC [ RunTime:0.000515s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9623 LIMIT 2 [ RunTime:0.000219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9623 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BD,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5217 LIMIT 4 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5217 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5217 ORDER BY `unit` DESC [ RunTime:0.000258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5217 LIMIT 2 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5217 ORDER BY `minOrder` ASC [ RunTime:0.003490s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KTY81/210,112' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9184 LIMIT 4 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9184 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9184 ORDER BY `unit` DESC [ RunTime:0.000268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9184 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9184 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SE97BTP,547' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12367 LIMIT 4 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12367 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12367 ORDER BY `unit` DESC [ RunTime:0.000218s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12367 LIMIT 2 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12367 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX31826MUA+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5706 LIMIT 4 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5706 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5706 ORDER BY `unit` DESC [ RunTime:0.000225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5706 LIMIT 2 [ RunTime:0.000215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5706 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
select * from pdf where partno='TSIC 306 TO92' and brandshort='IST INNOVATIVE SENSOR TECHNOLOGY' limit 1 [ RunTime:0.000392s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSIC 306 TO92' OR `brand` LIKE 'IST INNOVATIVE SENSOR TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9910 LIMIT 4 [ RunTime:0.000222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9910 ORDER BY `minOrder` ASC [ RunTime:0.003273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9910 ORDER BY `unit` DESC [ RunTime:0.000367s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9910 LIMIT 2 [ RunTime:0.000581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9910 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHT31-DIS-P2.5KS' OR `brand` LIKE 'SENSIRION%' ) ) LIMIT 1 [ RunTime:0.000254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1628 LIMIT 4 [ RunTime:0.000205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1628 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1628 ORDER BY `unit` DESC [ RunTime:0.000193s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1628 LIMIT 2 [ RunTime:0.000192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1628 ORDER BY `minOrder` ASC [ RunTime:0.000193s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP9700A-E/TO' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000514s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8063 LIMIT 4 [ RunTime:0.000194s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8063 ORDER BY `minOrder` ASC [ RunTime:0.000187s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8063 ORDER BY `unit` DESC [ RunTime:0.000191s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8063 LIMIT 2 [ RunTime:0.002216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8063 ORDER BY `minOrder` ASC [ RunTime:0.000199s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX6576ZUT+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000615s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2840 LIMIT 4 [ RunTime:0.000572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2840 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2840 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2840 LIMIT 2 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2840 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP9700AT-E/TT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4613 LIMIT 4 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4613 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4613 ORDER BY `unit` DESC [ RunTime:0.000312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4613 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4613 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
select * from pdf where partno='SHT21' and brandshort='SENSIRION' limit 1 [ RunTime:0.000830s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHT21' OR `brand` LIKE 'SENSIRION%' ) ) LIMIT 1 [ RunTime:0.000568s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9182 LIMIT 4 [ RunTime:0.000409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9182 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9182 ORDER BY `unit` DESC [ RunTime:0.002988s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9182 LIMIT 2 [ RunTime:0.003931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9182 ORDER BY `minOrder` ASC [ RunTime:0.000491s ]
select * from pdf where partno='KTY82/210,215' and brandshort='NXP' limit 1 [ RunTime:0.000500s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KTY82/210,215' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000499s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2696 LIMIT 4 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2696 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2696 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2696 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2696 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM335AZ' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000409s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5707 LIMIT 4 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5707 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5707 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5707 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5707 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P0K1.202.3FW.A.007' OR `brand` LIKE 'IST INNOVATIVE SENSOR TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000445s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10110 LIMIT 4 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10110 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10110 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10110 LIMIT 2 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10110 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX31865AAP+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16758 LIMIT 4 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16758 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16758 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16758 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16758 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
select * from pdf where partno='MAX6576ZUT+T' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.000482s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX6576ZUT+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16647 LIMIT 4 [ RunTime:0.000646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16647 ORDER BY `minOrder` ASC [ RunTime:0.002682s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16647 ORDER BY `unit` DESC [ RunTime:0.001076s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16647 LIMIT 2 [ RunTime:0.000852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16647 ORDER BY `minOrder` ASC [ RunTime:0.000602s ]
select * from pdf where partno='SHT21' and brandshort='SENSIRION' limit 1 [ RunTime:0.000477s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHT21' OR `brand` LIKE 'SENSIRION%' ) ) LIMIT 1 [ RunTime:0.000398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16614 LIMIT 4 [ RunTime:0.000652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16614 ORDER BY `minOrder` ASC [ RunTime:0.001570s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16614 ORDER BY `unit` DESC [ RunTime:0.000599s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16614 LIMIT 2 [ RunTime:0.000799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16614 ORDER BY `minOrder` ASC [ RunTime:0.000684s ]
select * from pdf where partno='TSIC 506F TO92' and brandshort='IST INNOVATIVE SENSOR TECHNOLOGY' limit 1 [ RunTime:0.001956s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSIC 506F TO92' OR `brand` LIKE 'IST INNOVATIVE SENSOR TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.001073s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15739 LIMIT 4 [ RunTime:0.001483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15739 ORDER BY `minOrder` ASC [ RunTime:0.000574s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15739 ORDER BY `unit` DESC [ RunTime:0.000421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15739 LIMIT 2 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15739 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
select * from pdf where partno='MAX6576ZUT+T' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.000367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX6576ZUT+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000298s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15628 LIMIT 4 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15628 ORDER BY `minOrder` ASC [ RunTime:0.000910s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15628 ORDER BY `unit` DESC [ RunTime:0.000408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15628 LIMIT 2 [ RunTime:0.000409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15628 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
select * from pdf where partno='SHT21' and brandshort='SENSIRION' limit 1 [ RunTime:0.000377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHT21' OR `brand` LIKE 'SENSIRION%' ) ) LIMIT 1 [ RunTime:0.000324s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 432 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001068s ]