รายละเอียดของการตอบ ::
Dim depart As String = ComboBox1.Text
Dim arrv As String = ComboBox2.Text
sqlflight = "select FlightNumber,Dateout,Model_plane,totalseat,remark"
sqlflight &= " from flights inner join "
sqlflight &= " (Model inner join type_plane on Model.type_no = type_plane.type_no)"
sqlflight &= " on flights.Model_plane = Model.model_plane"
sqlflight &= " where flights.FlightNumber in"
sqlflight &= " (select DepartureCity, ArrivalCity from flights"
sqlflight &= " where DepartureCity='" & depart & "' and ArrivalCity='" & arrv & "')"
เขียน query ประมาณนี้อะค่ะ แต่มันยัง execute ไม่ได้ค่ะ