Использование другого порядка с помощью union

Я хочу написать запрос как

    select top 10 * from A
    order by price
    union
    select top 3 * from A 
    order by price

или что-то подобное

    select top 10 * from A
    where name like '%smt%'
    order by price
    union
    select top 3 * from A
    where name not like '%smt%'
    order by price 

Не могли бы вы мне помочь?

Ответы на вопрос(5)

Ваш ответ на вопрос