2个MYSQL语句

SELECT sku, SUBSTRING( ordered_pic, 1, LENGTH( SUBSTRING_INDEX( ordered_pic, ",", 1 ) ) ) AS pid
FROM `product`
WHERE `purchaser_id` =13
LIMIT 0 , 30


SELECT id,picture_name FROM `picture` WHERE `width` =468 AND height = 468 AND created_at > '2012-08-01' and picture_name like 'W%'

你可能感兴趣的:(mysql)