PostgreSQLメモ

日付順にならべる

SELECT
*
FROM
d_order_bottle as a
WHERE
a.clientid=’H000100001′
ORDER BY
cre_date DESC