Yesterday I found a little problem when I was writing to SQL Server.
Statement Stmt = Conn.createStatement (); statement stmt = conn.createstatement (ResultSet.Type_Scroll_Sensitive, ResultSet.concur_updatable);
DISTINCT is right when using the previous sentence, but DISTINCT will have problems when using the following sentence.