cursor = database.cursor("select * from customer, rentals, videos where rentals.returnDate IS NULL AND rentals.customerId = customer.ID AND rentals.videoId = videos.id"); while(cursor.next()) { } cursor.close();
Rentals by Customer
click on title to return
Title Customer Due Date
write(cursor.title); write(cursor.name); write(cursor.duedate.toLocaleString());

Home