SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002699s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000609s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002194s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000893s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002010s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000321s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000575s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000266s ]
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.000691s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002821s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'BAV99%' AND `status` <> 2 ) [ RunTime:0.017820s ]
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 'BAV99%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013476s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002635s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 298 LIMIT 4 [ RunTime:0.006211s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 298 ORDER BY `minOrder` ASC [ RunTime:0.004622s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002188s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 298 ORDER BY `unit` DESC [ RunTime:0.000548s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004963s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 298 LIMIT 2 [ RunTime:0.006272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 298 ORDER BY `minOrder` ASC [ RunTime:0.005693s ]
select * from pdf where partno='BAV99,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.004172s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.010933s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.019855s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4909 LIMIT 4 [ RunTime:0.002618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4909 ORDER BY `minOrder` ASC [ RunTime:0.008162s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4909 ORDER BY `unit` DESC [ RunTime:0.003304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4909 LIMIT 2 [ RunTime:0.007932s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4909 ORDER BY `minOrder` ASC [ RunTime:0.008789s ]
select * from pdf where partno='BAV99' and brandshort='DIODES INC.' limit 1 [ RunTime:0.011138s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.009730s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3122 LIMIT 4 [ RunTime:0.008145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3122 ORDER BY `minOrder` ASC [ RunTime:0.001548s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3122 ORDER BY `unit` DESC [ RunTime:0.000677s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3122 LIMIT 2 [ RunTime:0.003249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3122 ORDER BY `minOrder` ASC [ RunTime:0.001513s ]
select * from pdf where partno='BAV99WT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.003623s ]
select foldpath,foldpath2,filename from pdf_file where id=225151 limit 1 [ RunTime:0.004213s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99WT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4520 LIMIT 4 [ RunTime:0.000612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4520 ORDER BY `minOrder` ASC [ RunTime:0.000618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4520 ORDER BY `unit` DESC [ RunTime:0.000568s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4520 LIMIT 2 [ RunTime:0.005505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4520 ORDER BY `minOrder` ASC [ RunTime:0.003590s ]
select * from pdf where partno='BAV99-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.001606s ]
select foldpath,foldpath2,filename from pdf_file where id=672072 limit 1 [ RunTime:0.002420s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.012351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 299 LIMIT 4 [ RunTime:0.000547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 299 ORDER BY `minOrder` ASC [ RunTime:0.005741s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 299 ORDER BY `unit` DESC [ RunTime:0.001277s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 299 LIMIT 2 [ RunTime:0.001269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 299 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
select * from pdf where partno='BAV99W,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001626s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99W,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.011632s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13899 LIMIT 4 [ RunTime:0.001781s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13899 ORDER BY `minOrder` ASC [ RunTime:0.003056s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13899 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13899 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13899 ORDER BY `minOrder` ASC [ RunTime:0.003191s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99S,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.002942s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 31090 LIMIT 4 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 31090 ORDER BY `minOrder` ASC [ RunTime:0.002061s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 31090 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 31090 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 31090 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
select * from pdf where partno='BAV99-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.000662s ]
select foldpath,foldpath2,filename from pdf_file where id=672072 limit 1 [ RunTime:0.000344s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99-7-F' OR `brand` LIKE 'DIODES(美台)%' ) ) LIMIT 1 [ RunTime:0.002681s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30707 LIMIT 4 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30707 ORDER BY `minOrder` ASC [ RunTime:0.005746s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30707 ORDER BY `unit` DESC [ RunTime:0.000343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30707 LIMIT 2 [ RunTime:0.001898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30707 ORDER BY `minOrder` ASC [ RunTime:0.003184s ]
select * from pdf where partno='BAV99' and brandshort='R+O' limit 1 [ RunTime:0.003119s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99' OR `brand` LIKE 'R+O(宏嘉诚)%' ) ) LIMIT 1 [ RunTime:0.018883s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30104 LIMIT 4 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30104 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30104 ORDER BY `unit` DESC [ RunTime:0.000340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30104 LIMIT 2 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30104 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
select * from pdf where partno='BAV99 SOT-23 CJ' and brandshort='CJ' limit 1 [ RunTime:0.000560s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99 SOT-23 CJ' OR `brand` LIKE 'CJ%' ) ) LIMIT 1 [ RunTime:0.000412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30103 LIMIT 4 [ RunTime:0.000630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30103 ORDER BY `minOrder` ASC [ RunTime:0.002092s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30103 ORDER BY `unit` DESC [ RunTime:0.008259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30103 LIMIT 2 [ RunTime:0.001084s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30103 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
select * from pdf where partno='BAV99W' and brandshort='Nexperia' limit 1 [ RunTime:0.002523s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99W' OR `brand` LIKE 'Nexperia%' ) ) LIMIT 1 [ RunTime:0.006480s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29235 LIMIT 4 [ RunTime:0.000503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29235 ORDER BY `minOrder` ASC [ RunTime:0.002348s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29235 ORDER BY `unit` DESC [ RunTime:0.005896s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29235 LIMIT 2 [ RunTime:0.001899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29235 ORDER BY `minOrder` ASC [ RunTime:0.000703s ]
select * from pdf where partno='BAV99,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000385s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29154 LIMIT 4 [ RunTime:0.000559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29154 ORDER BY `minOrder` ASC [ RunTime:0.008264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29154 ORDER BY `unit` DESC [ RunTime:0.001961s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29154 LIMIT 2 [ RunTime:0.000558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29154 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
select * from pdf where partno='BAV99LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.003702s ]
select foldpath,foldpath2,filename from pdf_file where id=316312 limit 1 [ RunTime:0.009341s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27663 LIMIT 4 [ RunTime:0.006768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27663 ORDER BY `minOrder` ASC [ RunTime:0.009281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27663 ORDER BY `unit` DESC [ RunTime:0.008670s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27663 LIMIT 2 [ RunTime:0.011306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27663 ORDER BY `minOrder` ASC [ RunTime:0.002610s ]
select * from pdf where partno='BAV99,215 (A7W)' and brandshort='*' limit 1 [ RunTime:0.008123s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99,215 (A7W)' OR `brand` LIKE '*%' ) ) LIMIT 1 [ RunTime:0.003231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27535 LIMIT 4 [ RunTime:0.013347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27535 ORDER BY `minOrder` ASC [ RunTime:0.008838s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27535 ORDER BY `unit` DESC [ RunTime:0.001383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27535 LIMIT 2 [ RunTime:0.001141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27535 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
select * from pdf where partno='BAV99Q-7-F' and brandshort='DIODES/' limit 1 [ RunTime:0.001328s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99Q-7-F' OR `brand` LIKE 'DIODES/美台%' ) ) LIMIT 1 [ RunTime:0.003108s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27257 LIMIT 4 [ RunTime:0.010085s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27257 ORDER BY `minOrder` ASC [ RunTime:0.002843s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27257 ORDER BY `unit` DESC [ RunTime:0.003321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27257 LIMIT 2 [ RunTime:0.002858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27257 ORDER BY `minOrder` ASC [ RunTime:0.000614s ]
select * from pdf where partno='BAV99T' and brandshort='*' limit 1 [ RunTime:0.001524s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99T' OR `brand` LIKE '*%' ) ) LIMIT 1 [ RunTime:0.001956s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 26367 LIMIT 4 [ RunTime:0.001130s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26367 ORDER BY `minOrder` ASC [ RunTime:0.000565s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 26367 ORDER BY `unit` DESC [ RunTime:0.000573s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 26367 LIMIT 2 [ RunTime:0.000545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26367 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
select * from pdf where partno='BAV99W,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001004s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99W,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.009747s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 26132 LIMIT 4 [ RunTime:0.003922s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26132 ORDER BY `minOrder` ASC [ RunTime:0.002463s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 26132 ORDER BY `unit` DESC [ RunTime:0.010045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 26132 LIMIT 2 [ RunTime:0.005126s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26132 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
select * from pdf where partno='BAV99' and brandshort='NXP' limit 1 [ RunTime:0.001102s ]
select foldpath,foldpath2,filename from pdf_file where id=317182 limit 1 [ RunTime:0.003427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.014826s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 23447 LIMIT 4 [ RunTime:0.002429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 23447 ORDER BY `minOrder` ASC [ RunTime:0.005747s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 23447 ORDER BY `unit` DESC [ RunTime:0.001866s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 23447 LIMIT 2 [ RunTime:0.001870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 23447 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
select * from pdf where partno='BAV99WT1G' and brandshort='ON' limit 1 [ RunTime:0.000994s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99WT1G' OR `brand` LIKE 'ON%' ) ) LIMIT 1 [ RunTime:0.014296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 21664 LIMIT 4 [ RunTime:0.007979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21664 ORDER BY `minOrder` ASC [ RunTime:0.001286s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 21664 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 21664 LIMIT 2 [ RunTime:0.000812s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21664 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
select * from pdf where partno='BAV99-HE3-08' and brandshort='Vishay Semiconductors' limit 1 [ RunTime:0.002365s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99-HE3-08' OR `brand` LIKE 'Vishay Semiconductors%' ) ) LIMIT 1 [ RunTime:0.001912s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20870 LIMIT 4 [ RunTime:0.002774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20870 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20870 ORDER BY `unit` DESC [ RunTime:0.000335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20870 LIMIT 2 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20870 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
select * from pdf where partno='BAV99,215' and brandshort='Nexperia' limit 1 [ RunTime:0.001173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99,215' OR `brand` LIKE 'Nexperia(安世)%' ) ) LIMIT 1 [ RunTime:0.003412s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'BAV99%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000776s ]