SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001439s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000575s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001721s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001586s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001607s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000377s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000196s ]
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.000400s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001213s ]
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.007910s ]
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.010662s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.006753s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 386 LIMIT 4 [ RunTime:0.000744s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 386 ORDER BY `minOrder` ASC [ RunTime:0.001589s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003484s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 386 ORDER BY `unit` DESC [ RunTime:0.000363s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001931s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 386 LIMIT 2 [ RunTime:0.015042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 386 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001176s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003A' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000997s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10456 LIMIT 4 [ RunTime:0.019946s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10456 ORDER BY `minOrder` ASC [ RunTime:0.002690s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10456 ORDER BY `unit` DESC [ RunTime:0.005553s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10456 LIMIT 2 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10456 ORDER BY `minOrder` ASC [ RunTime:0.001196s ]
select * from pdf where partno='ULN2003ADRG3' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.000496s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADRG3' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.000462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10455 LIMIT 4 [ RunTime:0.003347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10455 ORDER BY `minOrder` ASC [ RunTime:0.014695s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10455 ORDER BY `unit` DESC [ RunTime:0.000692s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10455 LIMIT 2 [ RunTime:0.005684s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10455 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
select * from pdf where partno='ULN2003ADR' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.006721s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.002035s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30211 LIMIT 4 [ RunTime:0.018452s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30211 ORDER BY `minOrder` ASC [ RunTime:0.008073s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30211 ORDER BY `unit` DESC [ RunTime:0.001671s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30211 LIMIT 2 [ RunTime:0.001577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30211 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
select * from pdf where partno='ULN2003AN' and brandshort='TI' limit 1 [ RunTime:0.001636s ]
select foldpath,foldpath2,filename from pdf_file where id=332269 limit 1 [ RunTime:0.007170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AN' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.046138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30146 LIMIT 4 [ RunTime:0.015453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30146 ORDER BY `minOrder` ASC [ RunTime:0.005753s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30146 ORDER BY `unit` DESC [ RunTime:0.000728s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30146 LIMIT 2 [ RunTime:0.000605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30146 ORDER BY `minOrder` ASC [ RunTime:0.012741s ]
select * from pdf where partno='ULN2003ADR' and brandshort='TI' limit 1 [ RunTime:0.003355s ]
select foldpath,foldpath2,filename from pdf_file where id=332269 limit 1 [ RunTime:0.001498s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.055397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29083 LIMIT 4 [ RunTime:0.007358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29083 ORDER BY `minOrder` ASC [ RunTime:0.002095s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29083 ORDER BY `unit` DESC [ RunTime:0.003101s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29083 LIMIT 2 [ RunTime:0.006553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29083 ORDER BY `minOrder` ASC [ RunTime:0.013284s ]
select * from pdf where partno='ULN2003ADR2G' and brandshort='ON' limit 1 [ RunTime:0.005517s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR2G' OR `brand` LIKE 'ON(安森美)%' ) ) LIMIT 1 [ RunTime:0.002736s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28939 LIMIT 4 [ RunTime:0.000563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28939 ORDER BY `minOrder` ASC [ RunTime:0.000583s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28939 ORDER BY `unit` DESC [ RunTime:0.009080s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28939 LIMIT 2 [ RunTime:0.002315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28939 ORDER BY `minOrder` ASC [ RunTime:0.002633s ]
select * from pdf where partno='ULN2003AFWG(C,NEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.008372s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(C,NEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.007853s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28122 LIMIT 4 [ RunTime:0.001169s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28122 ORDER BY `minOrder` ASC [ RunTime:0.005912s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28122 ORDER BY `unit` DESC [ RunTime:0.001524s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28122 LIMIT 2 [ RunTime:0.001337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28122 ORDER BY `minOrder` ASC [ RunTime:0.002185s ]
select * from pdf where partno='ULN2003AFWG(CNEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.000789s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(CNEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.004667s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27786 LIMIT 4 [ RunTime:0.004122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27786 ORDER BY `minOrder` ASC [ RunTime:0.000853s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27786 ORDER BY `unit` DESC [ RunTime:0.000526s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27786 LIMIT 2 [ RunTime:0.000638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27786 ORDER BY `minOrder` ASC [ RunTime:0.002643s ]
select * from pdf where partno='ULN2003AIDR' and brandshort='TI' limit 1 [ RunTime:0.006528s ]
select foldpath,foldpath2,filename from pdf_file where id=332267 limit 1 [ RunTime:0.006033s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AIDR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.053454s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19693 LIMIT 4 [ RunTime:0.001447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19693 ORDER BY `minOrder` ASC [ RunTime:0.000891s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19693 ORDER BY `unit` DESC [ RunTime:0.007050s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19693 LIMIT 2 [ RunTime:0.009035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19693 ORDER BY `minOrder` ASC [ RunTime:0.000439s ]
select * from pdf where partno='ULN2003ADR2G' and brandshort='ON' limit 1 [ RunTime:0.000571s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003ADR2G' OR `brand` LIKE 'ON(安森美)%' ) ) LIMIT 1 [ RunTime:0.002743s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19549 LIMIT 4 [ RunTime:0.006681s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19549 ORDER BY `minOrder` ASC [ RunTime:0.018456s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19549 ORDER BY `unit` DESC [ RunTime:0.003922s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19549 LIMIT 2 [ RunTime:0.008296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19549 ORDER BY `minOrder` ASC [ RunTime:0.000471s ]
select * from pdf where partno='ULN2003AFWG(C,NEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.002514s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(C,NEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.000493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18732 LIMIT 4 [ RunTime:0.000590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18732 ORDER BY `minOrder` ASC [ RunTime:0.004751s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18732 ORDER BY `unit` DESC [ RunTime:0.002362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18732 LIMIT 2 [ RunTime:0.009136s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18732 ORDER BY `minOrder` ASC [ RunTime:0.009582s ]
select * from pdf where partno='ULN2003AFWG(CNEHZA' and brandshort='TOSHIBA' limit 1 [ RunTime:0.003406s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AFWG(CNEHZA' OR `brand` LIKE 'TOSHIBA%' ) ) LIMIT 1 [ RunTime:0.002173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18396 LIMIT 4 [ RunTime:0.004381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18396 ORDER BY `minOrder` ASC [ RunTime:0.000838s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18396 ORDER BY `unit` DESC [ RunTime:0.000794s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18396 LIMIT 2 [ RunTime:0.002606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18396 ORDER BY `minOrder` ASC [ RunTime:0.007597s ]
select * from pdf where partno='ULN2003AIDR' and brandshort='TI' limit 1 [ RunTime:0.001246s ]
select foldpath,foldpath2,filename from pdf_file where id=332267 limit 1 [ RunTime:0.000373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2003AIDR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.000424s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2807364 LIMIT 4 [ RunTime:0.002022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2807364 ORDER BY `minOrder` ASC [ RunTime:0.001019s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2807364 ORDER BY `unit` DESC [ RunTime:0.000570s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2807364 LIMIT 2 [ RunTime:0.002682s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2807364 ORDER BY `minOrder` ASC [ RunTime:0.004738s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1744582 LIMIT 4 [ RunTime:0.001661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744582 ORDER BY `minOrder` ASC [ RunTime:0.004821s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1744582 ORDER BY `unit` DESC [ RunTime:0.002417s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1744582 LIMIT 2 [ RunTime:0.001464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744582 ORDER BY `minOrder` ASC [ RunTime:0.000532s ]
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.000498s ]