SELECT `sku` ,`current_price`
FROM `test`
WHERE `sku`
IN (
‘aaa‘, ‘bbb‘, ‘ccc‘, ‘ddd‘, ‘eee‘
)
ORDER BY FIELD( `sku` , ‘aaa‘, ‘bbb‘, ‘ccc‘, ‘ddd‘, ‘eee‘ )
时间: 2024-10-06 20:53:34
SELECT `sku` ,`current_price`
FROM `test`
WHERE `sku`
IN (
‘aaa‘, ‘bbb‘, ‘ccc‘, ‘ddd‘, ‘eee‘
)
ORDER BY FIELD( `sku` , ‘aaa‘, ‘bbb‘, ‘ccc‘, ‘ddd‘, ‘eee‘ )