260511_01_ENH: 테스트 파일 실제로 돌려가며 오류 내용 수정
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Keps.WinForms.Services
|
||||
/// <summary>활성화된 선거 연월 목록 조회.</summary>
|
||||
public const string ElectionYears = "SELECT ele_ym FROM elections WHERE flag = '1' ORDER BY ele_ym DESC";
|
||||
/// <summary>실 데이터에 존재하는 선거명 목록.</summary>
|
||||
public const string DistinctRealElections = "SELECT 선거명 FROM poll_data GROUP BY 선거명 ORDER BY 선거명";
|
||||
public const string DistinctRealElections = "SELECT 선거명 FROM poll_data a inner join elections b on a.ele_ym = b.ele_ym GROUP BY 선거명, a.ele_ym ORDER BY a.ele_ym desc";
|
||||
/// <summary>특정 선거명에 대한 시도명 목록.</summary>
|
||||
public const string DistinctRealAreas = "SELECT 시도명 FROM poll_data WHERE 선거명 = @electionName GROUP BY 시도명 ORDER BY 시도명";
|
||||
/// <summary>특정 선거/지역에 대한 군집 최대값 목록.</summary>
|
||||
|
||||
Reference in New Issue
Block a user