날짜 및 시간 범위 내에서 데이터 필터링안녕하세요.
2일 이내의 데이터를 필터링하고 싶습니다.
날짜는 다른 테이블에 있습니다.
1 번 테이블:

표 2:

표 2의 START_TIME과 END_TIME 사이에 END_TIME이 있는 표 1의 데이터를 필터링하려면 어떻게 해야 합니까?
나는 새로운 테이블에 결과를 원한다.
나는 그것을 명확하게 설명했기를 바랍니다.
감사합니다.
데이터 테이블Re: 날짜 및 시간 범위 내에서 데이터 필터링다음은 한 가지 유형의 필터링에 대한 간단한 예입니다.
Names Default To Here( 1 );
// Substitute the actual names of your data table
dt1 = Data Table( "table 1" );
dt2 = Data Table( "table 2" );
// This statement will select all of the rows in data table 1 that are
// between the start and end dates from the second data table
// Taking the value in the second data table's first row for the columns
// START_TIME of SideAStart and END_TIME of SideAEnd
// Not knowing what you really mean as "Filter the Data Table", this is
// a guess as to how you want to "Filter" the data
dt1 << dt1 << select where( dt2:START_TIME of SideAStart[1] <= dt1:END_TIME <= dt2:END_TIME of SideAEnd[1] );