选择部门分组

时间:2019-03-12 06:19:05

标签: oracle oracle-sqldeveloper

我有如下数据。我想选择那些Emp_id,其中只有HR是唯一的DEPT。从下面,仅应选择 100994和100998

public interface ISource
{
    DataTable Table { get; }
} 
public class MySource : ISource
{
    private DataTable table;
    public DataTable Table
    {
        get
        {
            if (table == null)
            {
                table = new System.Data.DataTable();
                table.Locale.DateTimeFormat.ShortDatePattern = Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern;
                table.Locale.DateTimeFormat.LongDatePattern = Thread.CurrentThread.CurrentCulture.DateTimeFormat.LongDatePattern;
            }
            return table;
        }
        private set
        {
            this.table = value;
        }
    } 
}

0 个答案:

没有答案