SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002401s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000627s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002048s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000324s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001761s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000334s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000312s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000226s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000439s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002144s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'ULN2003A%' AND `status` <> 2 ) [ RunTime:0.001291s ]
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 ( `partno` LIKE 'ULN2003A%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001206s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001968s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 386 LIMIT 4 [ RunTime:0.000407s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 386 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003841s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 386 ORDER BY `unit` DESC [ RunTime:0.000467s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006083s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 386 LIMIT 2 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 386 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001991s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003A' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001043s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10456 LIMIT 4 [ RunTime:0.003090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10456 ORDER BY `minOrder` ASC [ RunTime:0.007033s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10456 ORDER BY `unit` DESC [ RunTime:0.003617s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10456 LIMIT 2 [ RunTime:0.001260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10456 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
select * from pdf where partno='ULN2003ADRG3' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.001838s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADRG3' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.000888s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10455 LIMIT 4 [ RunTime:0.002798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10455 ORDER BY `minOrder` ASC [ RunTime:0.001308s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10455 ORDER BY `unit` DESC [ RunTime:0.014408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10455 LIMIT 2 [ RunTime:0.006393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10455 ORDER BY `minOrder` ASC [ RunTime:0.004157s ]
select * from pdf where partno='ULN2003ADR' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.001080s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.009426s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30211 LIMIT 4 [ RunTime:0.004328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30211 ORDER BY `minOrder` ASC [ RunTime:0.015683s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30211 ORDER BY `unit` DESC [ RunTime:0.012587s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30211 LIMIT 2 [ RunTime:0.001253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30211 ORDER BY `minOrder` ASC [ RunTime:0.000212s ]
select * from pdf where partno='ULN2003AN' and brandshort='TI' limit 1 [ RunTime:0.001100s ]
select foldpath,foldpath2,filename from pdf_file where id=332269 limit 1 [ RunTime:0.005525s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AN' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.028126s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30146 LIMIT 4 [ RunTime:0.006869s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30146 ORDER BY `minOrder` ASC [ RunTime:0.001485s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30146 ORDER BY `unit` DESC [ RunTime:0.000964s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30146 LIMIT 2 [ RunTime:0.000614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30146 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='ULN2003ADR' and brandshort='TI' limit 1 [ RunTime:0.000924s ]
select foldpath,foldpath2,filename from pdf_file where id=332269 limit 1 [ RunTime:0.000988s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.025643s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29083 LIMIT 4 [ RunTime:0.002598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29083 ORDER BY `minOrder` ASC [ RunTime:0.000570s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29083 ORDER BY `unit` DESC [ RunTime:0.000455s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29083 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29083 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
select * from pdf where partno='ULN2003ADR2G' and brandshort='ON' limit 1 [ RunTime:0.000770s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR2G' OR `brand` LIKE 'ON(安森美)%' ) ) LIMIT 1 [ RunTime:0.000655s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28939 LIMIT 4 [ RunTime:0.000745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28939 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28939 ORDER BY `unit` DESC [ RunTime:0.000319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28939 LIMIT 2 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28939 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
select * from pdf where partno='ULN2003AFWG(C,NEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.000505s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(C,NEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.002207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28122 LIMIT 4 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28122 ORDER BY `minOrder` ASC [ RunTime:0.001196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28122 ORDER BY `unit` DESC [ RunTime:0.000393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28122 LIMIT 2 [ RunTime:0.000436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28122 ORDER BY `minOrder` ASC [ RunTime:0.001171s ]
select * from pdf where partno='ULN2003AFWG(CNEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.005898s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(CNEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.003498s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27786 LIMIT 4 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27786 ORDER BY `minOrder` ASC [ RunTime:0.000530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27786 ORDER BY `unit` DESC [ RunTime:0.000580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27786 LIMIT 2 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27786 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
select * from pdf where partno='ULN2003AIDR' and brandshort='TI' limit 1 [ RunTime:0.000780s ]
select foldpath,foldpath2,filename from pdf_file where id=332267 limit 1 [ RunTime:0.000773s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AIDR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.042378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 21476 LIMIT 4 [ RunTime:0.000620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21476 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 21476 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 21476 LIMIT 2 [ RunTime:0.002693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21476 ORDER BY `minOrder` ASC [ RunTime:0.001778s ]
select * from pdf where partno='ULN2003ADR' and brandshort='TI' limit 1 [ RunTime:0.000426s ]
select foldpath,foldpath2,filename from pdf_file where id=332269 limit 1 [ RunTime:0.000276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.000263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 21360 LIMIT 4 [ RunTime:0.002169s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21360 ORDER BY `minOrder` ASC [ RunTime:0.001956s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 21360 ORDER BY `unit` DESC [ RunTime:0.001532s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 21360 LIMIT 2 [ RunTime:0.008104s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21360 ORDER BY `minOrder` ASC [ RunTime:0.010269s ]
select * from pdf where partno='ULN2003AN' and brandshort='TI' limit 1 [ RunTime:0.000541s ]
select foldpath,foldpath2,filename from pdf_file where id=332269 limit 1 [ RunTime:0.000321s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AN' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.000363s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19693 LIMIT 4 [ RunTime:0.000582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19693 ORDER BY `minOrder` ASC [ RunTime:0.010903s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19693 ORDER BY `unit` DESC [ RunTime:0.003901s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19693 LIMIT 2 [ RunTime:0.002931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19693 ORDER BY `minOrder` ASC [ RunTime:0.004244s ]
select * from pdf where partno='ULN2003ADR2G' and brandshort='ON' limit 1 [ RunTime:0.000414s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR2G' OR `brand` LIKE 'ON(安森美)%' ) ) LIMIT 1 [ RunTime:0.000353s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19549 LIMIT 4 [ RunTime:0.000538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19549 ORDER BY `minOrder` ASC [ RunTime:0.007554s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19549 ORDER BY `unit` DESC [ RunTime:0.002356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19549 LIMIT 2 [ RunTime:0.000335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19549 ORDER BY `minOrder` ASC [ RunTime:0.001043s ]
select * from pdf where partno='ULN2003AFWG(C,NEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.000333s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(C,NEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18732 LIMIT 4 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18732 ORDER BY `minOrder` ASC [ RunTime:0.001013s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18732 ORDER BY `unit` DESC [ RunTime:0.002176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18732 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18732 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
select * from pdf where partno='ULN2003AFWG(CNEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.000331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(CNEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.000257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18396 LIMIT 4 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18396 ORDER BY `minOrder` ASC [ RunTime:0.001302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18396 ORDER BY `unit` DESC [ RunTime:0.000356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18396 LIMIT 2 [ RunTime:0.006850s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18396 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
select * from pdf where partno='ULN2003AIDR' and brandshort='TI' limit 1 [ RunTime:0.000333s ]
select foldpath,foldpath2,filename from pdf_file where id=332267 limit 1 [ RunTime:0.000228s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AIDR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.000556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2807364 LIMIT 4 [ RunTime:0.013624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2807364 ORDER BY `minOrder` ASC [ RunTime:0.000576s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2807364 ORDER BY `unit` DESC [ RunTime:0.003297s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2807364 LIMIT 2 [ RunTime:0.005392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2807364 ORDER BY `minOrder` ASC [ RunTime:0.001979s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1744582 LIMIT 4 [ RunTime:0.002378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744582 ORDER BY `minOrder` ASC [ RunTime:0.004980s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1744582 ORDER BY `unit` DESC [ RunTime:0.002683s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1744582 LIMIT 2 [ RunTime:0.001457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744582 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'ULN2003A%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000853s ]