标签: sql oracle
SELECT DISTINCT AA,BB FROM TAB_1; SELECT BB,DISTINCT AA FROM TAB_1;
第二个显示时,第一个查询剂量不显示错误:
ORA-00936: missing expression 00936. 00000 - "missing expression"
答案 0 :(得分:1)
使用此syntax
SELECT DISTINCT expressions FROM tables [WHERE conditions];