Lets build SQL query which will return the resultset where tables orders and customers joined by custno field and custno field from customers table is equal to 1384: