SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001787s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000476s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002219s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.222' ) [ RunTime:0.000356s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001917s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000288s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000307s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000227s ]
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.000430s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002112s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'ULN2003A%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.002273s ]
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.001429s ]
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.002653s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001724s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 386 LIMIT 4 [ RunTime:0.000176s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 386 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000953s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 386 ORDER BY `unit` DESC [ RunTime:0.000162s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000759s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 386 LIMIT 2 [ RunTime:0.000154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 386 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000821s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003A' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000178s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10456 LIMIT 4 [ RunTime:0.001259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10456 ORDER BY `minOrder` ASC [ RunTime:0.001227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10456 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10456 LIMIT 2 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10456 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
select * from pdf where partno='ULN2003ADRG3' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.002049s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADRG3' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.008710s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10455 LIMIT 4 [ RunTime:0.000738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10455 ORDER BY `minOrder` ASC [ RunTime:0.003037s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10455 ORDER BY `unit` DESC [ RunTime:0.006607s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10455 LIMIT 2 [ RunTime:0.001689s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10455 ORDER BY `minOrder` ASC [ RunTime:0.000368s ]
select * from pdf where partno='ULN2003ADR' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.000872s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.003680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30211 LIMIT 4 [ RunTime:0.000515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30211 ORDER BY `minOrder` ASC [ RunTime:0.000757s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30211 ORDER BY `unit` DESC [ RunTime:0.000622s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30211 LIMIT 2 [ RunTime:0.000617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30211 ORDER BY `minOrder` ASC [ RunTime:0.001240s ]
select * from pdf where partno='ULN2003AN' and brandshort='TI' limit 1 [ RunTime:0.001083s ]
select foldpath,foldpath2,filename from pdf_file where id=332269 limit 1 [ RunTime:0.002468s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AN' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.057254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30146 LIMIT 4 [ RunTime:0.003537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30146 ORDER BY `minOrder` ASC [ RunTime:0.002711s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30146 ORDER BY `unit` DESC [ RunTime:0.002491s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30146 LIMIT 2 [ RunTime:0.000547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30146 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
select * from pdf where partno='ULN2003ADR' and brandshort='TI' limit 1 [ RunTime:0.000802s ]
select foldpath,foldpath2,filename from pdf_file where id=332269 limit 1 [ RunTime:0.000325s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.034389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29083 LIMIT 4 [ RunTime:0.002036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29083 ORDER BY `minOrder` ASC [ RunTime:0.003836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29083 ORDER BY `unit` DESC [ RunTime:0.010687s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29083 LIMIT 2 [ RunTime:0.004501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29083 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
select * from pdf where partno='ULN2003ADR2G' and brandshort='ON' limit 1 [ RunTime:0.000870s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR2G' OR `brand` LIKE 'ON(安森美)%' ) ) LIMIT 1 [ RunTime:0.000761s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28939 LIMIT 4 [ RunTime:0.002264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28939 ORDER BY `minOrder` ASC [ RunTime:0.013692s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28939 ORDER BY `unit` DESC [ RunTime:0.002155s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28939 LIMIT 2 [ RunTime:0.014685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28939 ORDER BY `minOrder` ASC [ RunTime:0.014723s ]
select * from pdf where partno='ULN2003AFWG(C,NEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.006170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(C,NEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.004537s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28122 LIMIT 4 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28122 ORDER BY `minOrder` ASC [ RunTime:0.001461s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28122 ORDER BY `unit` DESC [ RunTime:0.013655s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28122 LIMIT 2 [ RunTime:0.000562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28122 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
select * from pdf where partno='ULN2003AFWG(CNEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.000574s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(CNEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.012322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27786 LIMIT 4 [ RunTime:0.005155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27786 ORDER BY `minOrder` ASC [ RunTime:0.000879s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27786 ORDER BY `unit` DESC [ RunTime:0.000847s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27786 LIMIT 2 [ RunTime:0.000627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27786 ORDER BY `minOrder` ASC [ RunTime:0.003901s ]
select * from pdf where partno='ULN2003AIDR' and brandshort='TI' limit 1 [ RunTime:0.004664s ]
select foldpath,foldpath2,filename from pdf_file where id=332267 limit 1 [ RunTime:0.000566s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AIDR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.043801s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19693 LIMIT 4 [ RunTime:0.015203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19693 ORDER BY `minOrder` ASC [ RunTime:0.001817s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19693 ORDER BY `unit` DESC [ RunTime:0.000419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19693 LIMIT 2 [ RunTime:0.001121s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19693 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
select * from pdf where partno='ULN2003ADR2G' and brandshort='ON' limit 1 [ RunTime:0.000389s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR2G' OR `brand` LIKE 'ON(安森美)%' ) ) LIMIT 1 [ RunTime:0.000165s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19549 LIMIT 4 [ RunTime:0.001742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19549 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19549 ORDER BY `unit` DESC [ RunTime:0.000228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19549 LIMIT 2 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19549 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
select * from pdf where partno='ULN2003AFWG(C,NEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.000353s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(C,NEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.000154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18732 LIMIT 4 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18732 ORDER BY `minOrder` ASC [ RunTime:0.000838s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18732 ORDER BY `unit` DESC [ RunTime:0.000372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18732 LIMIT 2 [ RunTime:0.001969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18732 ORDER BY `minOrder` ASC [ RunTime:0.003418s ]
select * from pdf where partno='ULN2003AFWG(CNEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.000389s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(CNEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.000167s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18396 LIMIT 4 [ RunTime:0.001661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18396 ORDER BY `minOrder` ASC [ RunTime:0.001884s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18396 ORDER BY `unit` DESC [ RunTime:0.002279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18396 LIMIT 2 [ RunTime:0.002033s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18396 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
select * from pdf where partno='ULN2003AIDR' and brandshort='TI' limit 1 [ RunTime:0.000380s ]
select foldpath,foldpath2,filename from pdf_file where id=332267 limit 1 [ RunTime:0.000241s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AIDR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.000162s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2807364 LIMIT 4 [ RunTime:0.001291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2807364 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2807364 ORDER BY `unit` DESC [ RunTime:0.000225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2807364 LIMIT 2 [ RunTime:0.000213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2807364 ORDER BY `minOrder` ASC [ RunTime:0.002067s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1744582 LIMIT 4 [ RunTime:0.000458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744582 ORDER BY `minOrder` ASC [ RunTime:0.003187s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1744582 ORDER BY `unit` DESC [ RunTime:0.004596s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1744582 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744582 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
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.000659s ]