SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001743s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000534s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001261s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.002190s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001135s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000232s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000227s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000185s ]
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.000337s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001329s ]
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 ( `partno` LIKE 'ULN2003A%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001139s ]
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 ('386','10456','10455','30211','30146','29083','28939','28122','27786','19693','19549','18732','18396','2807364','1744582') ORDER BY FIELD(s.id, 386,10456,10455,30211,30146,29083,28939,28122,27786,19693,19549,18732,18396,2807364,1744582) [ RunTime:0.004901s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 386 LIMIT 4 [ RunTime:0.003267s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003875s ]
SELECT * FROM `stock_price` WHERE `stockid` = 386 ORDER BY `minOrder` ASC [ RunTime:0.003261s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001117s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 386 ORDER BY `unit` DESC [ RunTime:0.003182s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002075s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 386 LIMIT 2 [ RunTime:0.006391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 386 ORDER BY `minOrder` ASC [ RunTime:0.008693s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001047s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003A' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002908s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10456 LIMIT 4 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10456 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10456 ORDER BY `unit` DESC [ RunTime:0.000242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10456 LIMIT 2 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10456 ORDER BY `minOrder` ASC [ RunTime:0.002451s ]
select * from pdf where partno='ULN2003ADRG3' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.001372s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADRG3' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.005230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10455 LIMIT 4 [ RunTime:0.009167s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10455 ORDER BY `minOrder` ASC [ RunTime:0.012058s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10455 ORDER BY `unit` DESC [ RunTime:0.001807s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10455 LIMIT 2 [ RunTime:0.000666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10455 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
select * from pdf where partno='ULN2003ADR' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.002050s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.000693s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30211 LIMIT 4 [ RunTime:0.005898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30211 ORDER BY `minOrder` ASC [ RunTime:0.004262s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30211 ORDER BY `unit` DESC [ RunTime:0.002929s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30211 LIMIT 2 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30211 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
select * from pdf where partno='ULN2003AN' and brandshort='TI' limit 1 [ RunTime:0.001633s ]
select foldpath,foldpath2,filename from pdf_file where id=332269 limit 1 [ RunTime:0.004515s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AN' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.029515s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30146 LIMIT 4 [ RunTime:0.000469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30146 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30146 ORDER BY `unit` DESC [ RunTime:0.005900s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30146 LIMIT 2 [ RunTime:0.000478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30146 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
select * from pdf where partno='ULN2003ADR' and brandshort='TI' limit 1 [ RunTime:0.000865s ]
select foldpath,foldpath2,filename from pdf_file where id=332269 limit 1 [ RunTime:0.003086s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.026255s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29083 LIMIT 4 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29083 ORDER BY `minOrder` ASC [ RunTime:0.001270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29083 ORDER BY `unit` DESC [ RunTime:0.010252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29083 LIMIT 2 [ RunTime:0.004129s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29083 ORDER BY `minOrder` ASC [ RunTime:0.020609s ]
select * from pdf where partno='ULN2003ADR2G' and brandshort='ON' limit 1 [ RunTime:0.014308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR2G' OR `brand` LIKE 'ON(安森美)%' ) ) LIMIT 1 [ RunTime:0.008742s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28939 LIMIT 4 [ RunTime:0.002546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28939 ORDER BY `minOrder` ASC [ RunTime:0.007270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28939 ORDER BY `unit` DESC [ RunTime:0.016046s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28939 LIMIT 2 [ RunTime:0.010090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28939 ORDER BY `minOrder` ASC [ RunTime:0.005190s ]
select * from pdf where partno='ULN2003AFWG(C,NEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.008294s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(C,NEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.017523s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28122 LIMIT 4 [ RunTime:0.005271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28122 ORDER BY `minOrder` ASC [ RunTime:0.003401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28122 ORDER BY `unit` DESC [ RunTime:0.000676s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28122 LIMIT 2 [ RunTime:0.000852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28122 ORDER BY `minOrder` ASC [ RunTime:0.001986s ]
select * from pdf where partno='ULN2003AFWG(CNEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.003040s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(CNEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.002809s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27786 LIMIT 4 [ RunTime:0.003942s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27786 ORDER BY `minOrder` ASC [ RunTime:0.000741s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27786 ORDER BY `unit` DESC [ RunTime:0.000507s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27786 LIMIT 2 [ RunTime:0.008475s ]
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.000972s ]
select foldpath,foldpath2,filename from pdf_file where id=332267 limit 1 [ RunTime:0.002804s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AIDR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.028922s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19693 LIMIT 4 [ RunTime:0.001435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19693 ORDER BY `minOrder` ASC [ RunTime:0.001506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19693 ORDER BY `unit` DESC [ RunTime:0.002433s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19693 LIMIT 2 [ RunTime:0.002437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19693 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
select * from pdf where partno='ULN2003ADR2G' and brandshort='ON' limit 1 [ RunTime:0.000396s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR2G' OR `brand` LIKE 'ON(安森美)%' ) ) LIMIT 1 [ RunTime:0.000169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19549 LIMIT 4 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19549 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19549 ORDER BY `unit` DESC [ RunTime:0.000232s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19549 LIMIT 2 [ RunTime:0.001433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19549 ORDER BY `minOrder` ASC [ RunTime:0.001343s ]
select * from pdf where partno='ULN2003AFWG(C,NEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.000511s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(C,NEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.000170s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18732 LIMIT 4 [ RunTime:0.005486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18732 ORDER BY `minOrder` ASC [ RunTime:0.001713s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18732 ORDER BY `unit` DESC [ RunTime:0.007438s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18732 LIMIT 2 [ RunTime:0.000429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18732 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
select * from pdf where partno='ULN2003AFWG(CNEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.004827s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(CNEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.000176s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18396 LIMIT 4 [ RunTime:0.000250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18396 ORDER BY `minOrder` ASC [ RunTime:0.007184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18396 ORDER BY `unit` DESC [ RunTime:0.000242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18396 LIMIT 2 [ RunTime:0.001701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18396 ORDER BY `minOrder` ASC [ RunTime:0.001047s ]
select * from pdf where partno='ULN2003AIDR' and brandshort='TI' limit 1 [ RunTime:0.000386s ]
select foldpath,foldpath2,filename from pdf_file where id=332267 limit 1 [ RunTime:0.000232s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AIDR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.000177s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2807364 LIMIT 4 [ RunTime:0.000565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2807364 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2807364 ORDER BY `unit` DESC [ RunTime:0.000226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2807364 LIMIT 2 [ RunTime:0.003834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2807364 ORDER BY `minOrder` ASC [ RunTime:0.010300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1744582 LIMIT 4 [ RunTime:0.013839s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744582 ORDER BY `minOrder` ASC [ RunTime:0.000612s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1744582 ORDER BY `unit` DESC [ RunTime:0.010764s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1744582 LIMIT 2 [ RunTime:0.003979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744582 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
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.001416s ]