SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.003044s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.004159s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001588s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000323s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001173s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000275s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000286s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000222s ]
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.000388s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001488s ]
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.002831s ]
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.002760s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001976s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 386 LIMIT 4 [ RunTime:0.007110s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 386 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000984s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 386 ORDER BY `unit` DESC [ RunTime:0.000200s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001005s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 386 LIMIT 2 [ RunTime:0.000186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 386 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001076s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003A' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10456 LIMIT 4 [ RunTime:0.003597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10456 ORDER BY `minOrder` ASC [ RunTime:0.017372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10456 ORDER BY `unit` DESC [ RunTime:0.007498s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10456 LIMIT 2 [ RunTime:0.011096s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10456 ORDER BY `minOrder` ASC [ RunTime:0.002351s ]
select * from pdf where partno='ULN2003ADRG3' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.010226s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADRG3' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.001248s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10455 LIMIT 4 [ RunTime:0.002233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10455 ORDER BY `minOrder` ASC [ RunTime:0.004056s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10455 ORDER BY `unit` DESC [ RunTime:0.002453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10455 LIMIT 2 [ RunTime:0.001094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10455 ORDER BY `minOrder` ASC [ RunTime:0.004124s ]
select * from pdf where partno='ULN2003ADR' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.002131s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.001347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30211 LIMIT 4 [ RunTime:0.001621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30211 ORDER BY `minOrder` ASC [ RunTime:0.001085s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30211 ORDER BY `unit` DESC [ RunTime:0.000496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30211 LIMIT 2 [ RunTime:0.002921s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30211 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
select * from pdf where partno='ULN2003AN' and brandshort='TI' limit 1 [ RunTime:0.001717s ]
select foldpath,foldpath2,filename from pdf_file where id=332269 limit 1 [ RunTime:0.000579s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AN' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.023868s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30146 LIMIT 4 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30146 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30146 ORDER BY `unit` DESC [ RunTime:0.002250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30146 LIMIT 2 [ RunTime:0.005555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30146 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
select * from pdf where partno='ULN2003ADR' and brandshort='TI' limit 1 [ RunTime:0.002412s ]
select foldpath,foldpath2,filename from pdf_file where id=332269 limit 1 [ RunTime:0.000184s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.021570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29083 LIMIT 4 [ RunTime:0.003508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29083 ORDER BY `minOrder` ASC [ RunTime:0.007319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29083 ORDER BY `unit` DESC [ RunTime:0.001914s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29083 LIMIT 2 [ RunTime:0.000507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29083 ORDER BY `minOrder` ASC [ RunTime:0.000850s ]
select * from pdf where partno='ULN2003ADR2G' and brandshort='ON' limit 1 [ RunTime:0.001186s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR2G' OR `brand` LIKE 'ON(安森美)%' ) ) LIMIT 1 [ RunTime:0.002236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28939 LIMIT 4 [ RunTime:0.002259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28939 ORDER BY `minOrder` ASC [ RunTime:0.001453s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28939 ORDER BY `unit` DESC [ RunTime:0.007416s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28939 LIMIT 2 [ RunTime:0.015239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28939 ORDER BY `minOrder` ASC [ RunTime:0.001419s ]
select * from pdf where partno='ULN2003AFWG(C,NEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.001486s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(C,NEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.004713s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28122 LIMIT 4 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28122 ORDER BY `minOrder` ASC [ RunTime:0.000475s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28122 ORDER BY `unit` DESC [ RunTime:0.000432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28122 LIMIT 2 [ RunTime:0.000429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28122 ORDER BY `minOrder` ASC [ RunTime:0.003879s ]
select * from pdf where partno='ULN2003AFWG(CNEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.003308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(CNEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.003644s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27786 LIMIT 4 [ RunTime:0.000986s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27786 ORDER BY `minOrder` ASC [ RunTime:0.000521s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27786 ORDER BY `unit` DESC [ RunTime:0.000413s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27786 LIMIT 2 [ RunTime:0.000434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27786 ORDER BY `minOrder` ASC [ RunTime:0.001343s ]
select * from pdf where partno='ULN2003AIDR' and brandshort='TI' limit 1 [ RunTime:0.002272s ]
select foldpath,foldpath2,filename from pdf_file where id=332267 limit 1 [ RunTime:0.003448s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AIDR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.022300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19693 LIMIT 4 [ RunTime:0.002122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19693 ORDER BY `minOrder` ASC [ RunTime:0.002691s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19693 ORDER BY `unit` DESC [ RunTime:0.005197s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19693 LIMIT 2 [ RunTime:0.000792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19693 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
select * from pdf where partno='ULN2003ADR2G' and brandshort='ON' limit 1 [ RunTime:0.000563s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR2G' OR `brand` LIKE 'ON(安森美)%' ) ) LIMIT 1 [ RunTime:0.002786s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19549 LIMIT 4 [ RunTime:0.000456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19549 ORDER BY `minOrder` ASC [ RunTime:0.003757s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19549 ORDER BY `unit` DESC [ RunTime:0.000914s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19549 LIMIT 2 [ RunTime:0.008418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19549 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
select * from pdf where partno='ULN2003AFWG(C,NEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.000402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(C,NEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.000337s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18732 LIMIT 4 [ RunTime:0.001231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18732 ORDER BY `minOrder` ASC [ RunTime:0.000694s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18732 ORDER BY `unit` DESC [ RunTime:0.000680s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18732 LIMIT 2 [ RunTime:0.005868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18732 ORDER BY `minOrder` ASC [ RunTime:0.001359s ]
select * from pdf where partno='ULN2003AFWG(CNEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.000457s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(CNEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.000421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18396 LIMIT 4 [ RunTime:0.001259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18396 ORDER BY `minOrder` ASC [ RunTime:0.001066s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18396 ORDER BY `unit` DESC [ RunTime:0.001083s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18396 LIMIT 2 [ RunTime:0.000493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18396 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
select * from pdf where partno='ULN2003AIDR' and brandshort='TI' limit 1 [ RunTime:0.000554s ]
select foldpath,foldpath2,filename from pdf_file where id=332267 limit 1 [ RunTime:0.000268s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AIDR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.000367s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2807364 LIMIT 4 [ RunTime:0.000736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2807364 ORDER BY `minOrder` ASC [ RunTime:0.000448s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2807364 ORDER BY `unit` DESC [ RunTime:0.009274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2807364 LIMIT 2 [ RunTime:0.008203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2807364 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1744582 LIMIT 4 [ RunTime:0.000674s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744582 ORDER BY `minOrder` ASC [ RunTime:0.000534s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1744582 ORDER BY `unit` DESC [ RunTime:0.005374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1744582 LIMIT 2 [ RunTime:0.001732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744582 ORDER BY `minOrder` ASC [ RunTime:0.002086s ]
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.001511s ]