I have got a database and a table inside it. Here my table:
Houses (
id,
doors,
windows,
bathrooms,
wallColor,
dateRent
)
I want to compare data os this table and get if it is equal or not: For example:
Select id, doors, windows, bathrroms, wallColor
from Houses
where dateRent='01-02-2013' equal(
Select id, doors, windows, bathrroms, wallColor
from Houses
where dateRent='08-09-2014'
);
It just be great to give me true or false.