sql test about engine