SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002356s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000563s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002380s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000320s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001911s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000274s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 48 LIMIT 1 [ RunTime:0.000353s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000292s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) [ RunTime:0.000517s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002253s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) ) [ RunTime:0.000519s ]
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` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 300,20 [ RunTime:0.007667s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002076s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8257 LIMIT 4 [ RunTime:0.000497s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8257 ORDER BY `minOrder` ASC [ RunTime:0.002526s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006850s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8257 ORDER BY `unit` DESC [ RunTime:0.000873s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8257 LIMIT 2 [ RunTime:0.000828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8257 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PICOSCOPE 2405A' OR `brand` LIKE 'PICO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000941s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7136 LIMIT 4 [ RunTime:0.000672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7136 ORDER BY `minOrder` ASC [ RunTime:0.006749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7136 ORDER BY `unit` DESC [ RunTime:0.007231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7136 LIMIT 2 [ RunTime:0.004501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7136 ORDER BY `minOrder` ASC [ RunTime:0.000516s ]
select * from pdf where partno='PICOSCOPE 3404D MSO' and brandshort='PICO TECHNOLOGY' limit 1 [ RunTime:0.005004s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PICOSCOPE 3404D MSO' OR `brand` LIKE 'PICO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.003736s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6728 LIMIT 4 [ RunTime:0.006107s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6728 ORDER BY `minOrder` ASC [ RunTime:0.000538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6728 ORDER BY `unit` DESC [ RunTime:0.000455s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6728 LIMIT 2 [ RunTime:0.000437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6728 ORDER BY `minOrder` ASC [ RunTime:0.001105s ]
select * from pdf where partno='77DB-12-12M' and brandshort='IDEAL POWER' limit 1 [ RunTime:0.002884s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '77DB-12-12M' OR `brand` LIKE 'IDEAL POWER%' ) ) LIMIT 1 [ RunTime:0.000566s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6712 LIMIT 4 [ RunTime:0.008238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6712 ORDER BY `minOrder` ASC [ RunTime:0.007756s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6712 ORDER BY `unit` DESC [ RunTime:0.002143s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6712 LIMIT 2 [ RunTime:0.001362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6712 ORDER BY `minOrder` ASC [ RunTime:0.003033s ]
select * from pdf where partno='TXM 050-124' and brandshort='TRACO POWER' limit 1 [ RunTime:0.002117s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TXM 050-124' OR `brand` LIKE 'TRACO POWER%' ) ) LIMIT 1 [ RunTime:0.001537s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6422 LIMIT 4 [ RunTime:0.004928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6422 ORDER BY `minOrder` ASC [ RunTime:0.004270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6422 ORDER BY `unit` DESC [ RunTime:0.009070s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6422 LIMIT 2 [ RunTime:0.005648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6422 ORDER BY `minOrder` ASC [ RunTime:0.000496s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ALF1501D' OR `brand` LIKE 'ELC%' ) ) LIMIT 1 [ RunTime:0.001720s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4821 LIMIT 4 [ RunTime:0.000591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4821 ORDER BY `minOrder` ASC [ RunTime:0.000570s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4821 ORDER BY `unit` DESC [ RunTime:0.009613s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4821 LIMIT 2 [ RunTime:0.008030s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4821 ORDER BY `minOrder` ASC [ RunTime:0.018540s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NPS63-M' OR `brand` LIKE 'ARTESYN EMBEDDED TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.001516s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4678 LIMIT 4 [ RunTime:0.000659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4678 ORDER BY `minOrder` ASC [ RunTime:0.010926s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4678 ORDER BY `unit` DESC [ RunTime:0.017976s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4678 LIMIT 2 [ RunTime:0.001690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4678 ORDER BY `minOrder` ASC [ RunTime:0.000431s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CLC125US12' OR `brand` LIKE 'XP POWER%' ) ) LIMIT 1 [ RunTime:0.005614s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3359 LIMIT 4 [ RunTime:0.009115s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3359 ORDER BY `minOrder` ASC [ RunTime:0.012728s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3359 ORDER BY `unit` DESC [ RunTime:0.008926s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3359 LIMIT 2 [ RunTime:0.007367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3359 ORDER BY `minOrder` ASC [ RunTime:0.000569s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PICOSCOPE 4424 KIT' OR `brand` LIKE 'PICO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.005081s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3060 LIMIT 4 [ RunTime:0.005841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3060 ORDER BY `minOrder` ASC [ RunTime:0.013097s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3060 ORDER BY `unit` DESC [ RunTime:0.014084s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3060 LIMIT 2 [ RunTime:0.004558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3060 ORDER BY `minOrder` ASC [ RunTime:0.000516s ]
select * from pdf where partno='13PT001' and brandshort='MCM' limit 1 [ RunTime:0.001801s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13PT001' OR `brand` LIKE 'MCM%' ) ) LIMIT 1 [ RunTime:0.010417s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1451 LIMIT 4 [ RunTime:0.009586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1451 ORDER BY `minOrder` ASC [ RunTime:0.016324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1451 ORDER BY `unit` DESC [ RunTime:0.019947s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1451 LIMIT 2 [ RunTime:0.002421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1451 ORDER BY `minOrder` ASC [ RunTime:0.001850s ]
select * from pdf where partno='TSP 090-148' and brandshort='TRACO POWER' limit 1 [ RunTime:0.004031s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSP 090-148' OR `brand` LIKE 'TRACO POWER%' ) ) LIMIT 1 [ RunTime:0.003532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1267 LIMIT 4 [ RunTime:0.023139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1267 ORDER BY `minOrder` ASC [ RunTime:0.017593s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1267 ORDER BY `unit` DESC [ RunTime:0.006884s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1267 LIMIT 2 [ RunTime:0.002168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1267 ORDER BY `minOrder` ASC [ RunTime:0.003886s ]
select * from pdf where partno='NV1-4G5TT-C' and brandshort='TDK-LAMBDA' limit 1 [ RunTime:0.007660s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NV1-4G5TT-C' OR `brand` LIKE 'TDK-LAMBDA%' ) ) LIMIT 1 [ RunTime:0.007125s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1215 LIMIT 4 [ RunTime:0.020728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1215 ORDER BY `minOrder` ASC [ RunTime:0.022580s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1215 ORDER BY `unit` DESC [ RunTime:0.008275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1215 LIMIT 2 [ RunTime:0.019727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1215 ORDER BY `minOrder` ASC [ RunTime:0.018982s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-6/2-0' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.005075s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1214 LIMIT 4 [ RunTime:0.000936s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1214 ORDER BY `minOrder` ASC [ RunTime:0.000688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1214 ORDER BY `unit` DESC [ RunTime:0.005047s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1214 LIMIT 2 [ RunTime:0.000615s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1214 ORDER BY `minOrder` ASC [ RunTime:0.001698s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-3/1-0' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.006123s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1207 LIMIT 4 [ RunTime:0.003169s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1207 ORDER BY `minOrder` ASC [ RunTime:0.000600s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1207 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1207 LIMIT 2 [ RunTime:0.000903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1207 ORDER BY `minOrder` ASC [ RunTime:0.002180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/8-2-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001050s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001107s ]