Inquiry about pair of tables