select top(10) from customer order by customer_id desc
select * from (select top 10 * from customer order by customer_id desc) a order by customer_id
This work works fine in MS SQL, but for MySQL we have to go SELECT * FROM customer ORDER BY customer_id DESC LIMIT 10
It seems you are missing the list of columns that you want to get from the table.
Consider:
select top(10) * from customer order by customer_id desc
or
select top(10) customer_id, customer_name from customer order by customer_id desc
you can use: SELECT * FROM customer ORDER BY customer_id DESC LIMIT 10
Source: https://habr.com/ru/post/1723401/More articles:MYSQL DATE function runs insanely slower in LEFT JOIN - phphttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1723397/moving-files-between-independent-repositories-in-svn&usg=ALkJrhg-g5cnmj1BcFGHl2iHlVnEbXpDAgРазметка интерфейса JAX-RS и вставка @Context - jax-rsInput Applications Soundflower - c ++Текстуры XNA.Fbx - xnaAre there double * and double ** soft types? C # - c ++Is there a list of well-known software products that do and do not conduct testing? - tddDelphi for .NET does not find shared files in .NET library search directories ("[DCC Error] F1026 File not found) - asp.netHow to set the date in mysql update from millisecond from the moment the "epoch" value is received? - dateWhere can I find resources / files for graph entry? - inputAll Articles