8 lines
159 B
MySQL
8 lines
159 B
MySQL
|
SELECT * FROM (VALUES
|
||
|
('metal', 0.15),
|
||
|
('wood', 1),
|
||
|
('resin', 0),
|
||
|
('fabric', 0.5),
|
||
|
('plastic', 0.25)
|
||
|
) AS material_lookup(material, score)
|