db order-by

Orders by query

Signature

> db order-by ...select --ascending --nulls-first

Parameters

  • ...select: Select expression(s) on the table
  • --ascending: Order by ascending values
  • --nulls-first: Show nulls first in order

Examples

orders query by a column

> db open db.mysql
    | db from table_a
    | db select a
    | db order-by a
    | db describe