以下の内容はhttps://hake.hatenablog.com/entry/2018/12/09/073457より取得しました。


SQLite - 重複の除去(DISTINCT)

指定したカラムで重複ているものを除去して出力する

sqlite> select * from AAA;
tt          ii          rr
----------  ----------  ----------
aaa         1           1.0
aaa         1           2.0
aaa         2           3.0
aaa         2           4.0

sqlite> select distinct tt from AAA;
tt
----------
aaa

sqlite> select distinct tt,ii from AAA;
tt          ii
----------  ----------
aaa         1
aaa         2

sqlite> select distinct tt,ii,rr from AAA;
tt          ii          rr
----------  ----------  ----------
aaa         1           1.0
aaa         1           2.0
aaa         2           3.0
aaa         2           4.0



以上の内容はhttps://hake.hatenablog.com/entry/2018/12/09/073457より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14