SELECT MIN(p.start_date), CONCAT(c.first_name, ' ', c.last_name) AS 'c.fullname', c.temp_nr
FROM contactstable c
LEFT JOIN projectlines p on c.temp_nr = p.candidate_number
WHERE c.temp_nr ='XXXX' and c.contact_type = 'Candidate'
HAVING MIN(p.start_date) between DATE_SUB( CURDATE( ) , INTERVAL (dayofweek(CURDATE())+6)
DAY )
AND DATE_SUB( CURDATE( ) , INTERVAL (dayofweek(CURDATE()))
DAY )
//计算释放第一个字符和设置第二个字符之间的频率,
#include <stdio.h>
#include <dos.h>
#include<stdlib.h>
//从最高索引开始,以避免堆栈崩溃
volatile int stopper = 0;
volatile int index = 3;
//挡块将计数时间,介于上一次释放时间和向上按动键之间
volatile int diff1[4] = {0,0,0,0};
volatile int diff2[4] = { 0,0,0,0 };
volatile int gotChar = 0;//to know in if I got in the same time new char
volatile int secondW =0; //to know if the first word ended void
interrupt(*Int8save)(void);
///////////////////////////////////////////////////////////////
void interrupt myhandle() {
inputFlag = 1;
if (index == 0 && secondW ==1) { index = -1; return; }
if (index == 0 && secondW == 0)
{ printf("\nNow AGAIN\n"); index =3;}
if (secondW == 1 && index <2) { diff2[3 - index] = stopper; }
else if (index < 2) { diff1[3 -index] = stopper; }
stopper = 0;
Int8Save();
if (index > 0)
index--;
while(gotChar == 0)stopper++;