SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001558s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000562s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001912s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000308s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002165s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000346s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 40 LIMIT 1 [ RunTime:0.000791s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 40 [ RunTime:0.000376s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454) [ RunTime:0.000453s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002136s ]
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 ( `status` <> 2 AND `categoryid` IN (420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000979s ]
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 ('6873','9623','5217','12357','9184','10875','10497','10327','4122','12367','5300','5706','12646','5064','9910','11590','1628','2028','2637','8063') ORDER BY FIELD(s.id, 6873,9623,5217,12357,9184,10875,10497,10327,4122,12367,5300,5706,12646,5064,9910,11590,1628,2028,2637,8063) [ RunTime:0.001002s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001530s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6873 LIMIT 4 [ RunTime:0.000212s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6873 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000773s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6873 ORDER BY `unit` DESC [ RunTime:0.000161s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000893s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6873 LIMIT 2 [ RunTime:0.000161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6873 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000982s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BDP,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9623 LIMIT 4 [ RunTime:0.000155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9623 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9623 ORDER BY `unit` DESC [ RunTime:0.000153s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9623 LIMIT 2 [ RunTime:0.000144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9623 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BD,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5217 LIMIT 4 [ RunTime:0.000147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5217 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5217 ORDER BY `unit` DESC [ RunTime:0.000146s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5217 LIMIT 2 [ RunTime:0.000152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5217 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KTY81/210,112' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000159s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12357 LIMIT 4 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12357 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12357 ORDER BY `unit` DESC [ RunTime:0.000189s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12357 LIMIT 2 [ RunTime:0.000171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12357 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACS711KEXLT-15AB-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.000152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9184 LIMIT 4 [ RunTime:0.000146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9184 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9184 ORDER BY `unit` DESC [ RunTime:0.000174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9184 LIMIT 2 [ RunTime:0.000168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9184 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SE97BTP,547' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10875 LIMIT 4 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10875 ORDER BY `unit` DESC [ RunTime:0.000150s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10875 LIMIT 2 [ RunTime:0.000144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DPS368XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10497 LIMIT 4 [ RunTime:0.000161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10497 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10497 ORDER BY `unit` DESC [ RunTime:0.000194s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10497 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10497 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACS720KLATR-65AB-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.000150s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10327 LIMIT 4 [ RunTime:0.000145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.000144s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10327 ORDER BY `unit` DESC [ RunTime:0.000151s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10327 LIMIT 2 [ RunTime:0.000142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2010GST1' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000149s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4122 LIMIT 4 [ RunTime:0.000146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4122 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4122 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4122 LIMIT 2 [ RunTime:0.000171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4122 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACS758LCB-050B-PFF-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.000181s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12367 LIMIT 4 [ RunTime:0.000189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12367 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12367 ORDER BY `unit` DESC [ RunTime:0.000148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12367 LIMIT 2 [ RunTime:0.000144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12367 ORDER BY `minOrder` ASC [ RunTime:0.000142s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX31826MUA+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5300 LIMIT 4 [ RunTime:0.000159s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5300 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5300 ORDER BY `unit` DESC [ RunTime:0.000159s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5300 LIMIT 2 [ RunTime:0.000157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5300 ORDER BY `minOrder` ASC [ RunTime:0.000148s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV5050DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5706 LIMIT 4 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5706 ORDER BY `minOrder` ASC [ RunTime:0.000192s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5706 ORDER BY `unit` DESC [ RunTime:0.000151s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5706 LIMIT 2 [ RunTime:0.000145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5706 ORDER BY `minOrder` ASC [ RunTime:0.000144s ]
select * from pdf where partno='TSIC 306 TO92' and brandshort='IST INNOVATIVE SENSOR TECHNOLOGY' limit 1 [ RunTime:0.000215s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSIC 306 TO92' OR `brand` LIKE 'IST INNOVATIVE SENSOR TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000538s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12646 LIMIT 4 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12646 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12646 ORDER BY `unit` DESC [ RunTime:0.000288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12646 LIMIT 2 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12646 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'APDS-9930' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.000291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5064 LIMIT 4 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5064 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5064 ORDER BY `unit` DESC [ RunTime:0.000276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5064 LIMIT 2 [ RunTime:0.000269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5064 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACS758ECB-200U-PFF-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.000311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9910 LIMIT 4 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9910 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9910 ORDER BY `unit` DESC [ RunTime:0.000258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9910 LIMIT 2 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9910 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHT31-DIS-P2.5KS' OR `brand` LIKE 'SENSIRION%' ) ) LIMIT 1 [ RunTime:0.000313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11590 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11590 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11590 ORDER BY `unit` DESC [ RunTime:0.000266s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11590 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11590 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MS583730BA01-50' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000293s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1628 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1628 ORDER BY `minOrder` ASC [ RunTime:0.000272s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1628 ORDER BY `unit` DESC [ RunTime:0.000267s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1628 LIMIT 2 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1628 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP9700A-E/TO' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2028 LIMIT 4 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2028 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2028 ORDER BY `unit` DESC [ RunTime:0.000258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2028 LIMIT 2 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2028 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2010GP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2637 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2637 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2637 ORDER BY `unit` DESC [ RunTime:0.000263s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2637 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2637 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
select * from pdf where partno='MPXM2202AS' and brandshort='NXP' limit 1 [ RunTime:0.000245s ]
select foldpath,foldpath2,filename from pdf_file where id=1673763 limit 1 [ RunTime:0.000170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2202AS' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8063 LIMIT 4 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8063 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8063 ORDER BY `unit` DESC [ RunTime:0.000265s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8063 LIMIT 2 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8063 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX6576ZUT+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000296s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000506s ]