SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002246s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000452s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002241s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.188' ) [ RunTime:0.000349s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002432s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000320s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 127 LIMIT 1 [ RunTime:0.000540s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 127 [ RunTime:0.000255s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000289s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002299s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 127 ) [ RunTime:0.001665s ]
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` = 4 AND `status` <> 2 AND `categoryid` = 127 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001987s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001783s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16237 LIMIT 4 [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16237 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001849s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16237 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002191s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16237 LIMIT 2 [ RunTime:0.000291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16237 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
select * from pdf where partno='724' and brandshort='SCS' limit 1 [ RunTime:0.000514s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '724' OR `brand` LIKE 'SCS%' ) ) LIMIT 1 [ RunTime:0.000385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16127 LIMIT 4 [ RunTime:0.003016s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16127 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16127 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16127 LIMIT 2 [ RunTime:0.000305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16127 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
select * from pdf where partno='L-1384AD/1GD' and brandshort='KINGBRIGHT' limit 1 [ RunTime:0.000481s ]
select foldpath,foldpath2,filename from pdf_file where id=1387251 limit 1 [ RunTime:0.000303s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L-1384AD/1GD' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16013 LIMIT 4 [ RunTime:0.000361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16013 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16013 ORDER BY `unit` DESC [ RunTime:0.000249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16013 LIMIT 2 [ RunTime:0.000250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16013 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
select * from pdf where partno='L-130WDT/1EGW' and brandshort='KINGBRIGHT' limit 1 [ RunTime:0.000599s ]
select foldpath,foldpath2,filename from pdf_file where id=1387246 limit 1 [ RunTime:0.000339s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L-130WDT/1EGW' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000298s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15635 LIMIT 4 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15635 ORDER BY `minOrder` ASC [ RunTime:0.001657s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15635 ORDER BY `unit` DESC [ RunTime:0.000243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15635 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15635 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
select * from pdf where partno='KPT-2012LVSECK-J4-PRV' and brandshort='KINGBRIGHT' limit 1 [ RunTime:0.000459s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KPT-2012LVSECK-J4-PRV' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000248s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15585 LIMIT 4 [ RunTime:0.001364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15585 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15585 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15585 LIMIT 2 [ RunTime:0.000234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15585 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='LED3-16' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000447s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LED3-16' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15567 LIMIT 4 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15567 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15567 ORDER BY `unit` DESC [ RunTime:0.000240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15567 LIMIT 2 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15567 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
select * from pdf where partno='QS63XXR12' and brandshort='APEM' limit 1 [ RunTime:0.000450s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'QS63XXR12' OR `brand` LIKE 'APEM%' ) ) LIMIT 1 [ RunTime:0.000257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15498 LIMIT 4 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15498 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15498 ORDER BY `unit` DESC [ RunTime:0.000357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15498 LIMIT 2 [ RunTime:0.000468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15498 ORDER BY `minOrder` ASC [ RunTime:0.004734s ]
select * from pdf where partno='L02R3000F1' and brandshort='LED TECHNOLOGY' limit 1 [ RunTime:0.001651s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L02R3000F1' OR `brand` LIKE 'LED TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.002246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15437 LIMIT 4 [ RunTime:0.000493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15437 ORDER BY `minOrder` ASC [ RunTime:0.000479s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15437 ORDER BY `unit` DESC [ RunTime:0.000492s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15437 LIMIT 2 [ RunTime:0.003825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15437 ORDER BY `minOrder` ASC [ RunTime:0.001401s ]
select * from pdf where partno='HLMP-3401' and brandshort='BROADCOM' limit 1 [ RunTime:0.000542s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-3401' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.000379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15330 LIMIT 4 [ RunTime:0.001982s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15330 ORDER BY `minOrder` ASC [ RunTime:0.002812s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15330 ORDER BY `unit` DESC [ RunTime:0.000331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15330 LIMIT 2 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15330 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
select * from pdf where partno='CAT4104VP2-GT3' and brandshort='ONSEMI' limit 1 [ RunTime:0.000576s ]
select foldpath,foldpath2,filename from pdf_file where id=831675 limit 1 [ RunTime:0.004015s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT4104VP2-GT3' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.004210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15195 LIMIT 4 [ RunTime:0.000552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15195 ORDER BY `minOrder` ASC [ RunTime:0.001943s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15195 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15195 LIMIT 2 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15195 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
select * from pdf where partno='ASMB-KTF0-0A306' and brandshort='BROADCOM' limit 1 [ RunTime:0.000749s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASMB-KTF0-0A306' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.000372s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 127 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001661s ]