SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001410s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000494s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002654s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.153' ) [ RunTime:0.000503s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001326s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000250s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000231s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000190s ]
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.000403s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001449s ]
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.001273s ]
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 20,20 [ RunTime:0.003067s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001965s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19845 LIMIT 4 [ RunTime:0.003526s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19845 ORDER BY `minOrder` ASC [ RunTime:0.003770s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19845 ORDER BY `unit` DESC [ RunTime:0.000513s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004722s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19845 LIMIT 2 [ RunTime:0.000466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19845 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
select * from pdf where partno='BAV99,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.003327s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.003945s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19764 LIMIT 4 [ RunTime:0.003060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19764 ORDER BY `minOrder` ASC [ RunTime:0.004063s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19764 ORDER BY `unit` DESC [ RunTime:0.000958s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19764 LIMIT 2 [ RunTime:0.001649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19764 ORDER BY `minOrder` ASC [ RunTime:0.001527s ]
select * from pdf where partno='BAV99LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.008794s ]
select foldpath,foldpath2,filename from pdf_file where id=316312 limit 1 [ RunTime:0.005668s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008293s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18273 LIMIT 4 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18273 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18273 ORDER BY `unit` DESC [ RunTime:0.000213s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18273 LIMIT 2 [ RunTime:0.000211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18273 ORDER BY `minOrder` ASC [ RunTime:0.000201s ]
select * from pdf where partno='BAV99,215 (A7W)' and brandshort='*' limit 1 [ RunTime:0.000496s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99,215 (A7W)' OR `brand` LIKE '*%' ) ) LIMIT 1 [ RunTime:0.000228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18145 LIMIT 4 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18145 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18145 ORDER BY `unit` DESC [ RunTime:0.002921s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18145 LIMIT 2 [ RunTime:0.008295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18145 ORDER BY `minOrder` ASC [ RunTime:0.001147s ]
select * from pdf where partno='BAV99Q-7-F' and brandshort='DIODES/' limit 1 [ RunTime:0.001069s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99Q-7-F' OR `brand` LIKE 'DIODES/美台%' ) ) LIMIT 1 [ RunTime:0.008106s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17867 LIMIT 4 [ RunTime:0.009991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17867 ORDER BY `minOrder` ASC [ RunTime:0.001742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17867 ORDER BY `unit` DESC [ RunTime:0.000238s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17867 LIMIT 2 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17867 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
select * from pdf where partno='BAV99T' and brandshort='*' limit 1 [ RunTime:0.000566s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99T' OR `brand` LIKE '*%' ) ) LIMIT 1 [ RunTime:0.000289s ]
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.001040s ]