Sandbox
SELECT
MAX
(
rating
)
FROM
cscart_absolute_rating
WHERE
`object_type`
=
'company'
Query time 0.00008
Explain
id
select_type
table
type
possible_keys
key
key_len
ref
rows
Extra
1
SIMPLE
Impossible WHERE noticed after reading const tables
Result
MAX(rating)