is there a possible way to have a select as an answer?, i'm trying to do this in MySql but it always appear as an error:
//administrador and informacion are tables. //inmobiliaria is the schema.
SELECT if(administrador.usuario='Admin0'&&administrador.password='pass123',
select * from inmobiliaria.informacion, null) FROM inmobiliaria.administrador;
at the end i'm trying to get everything from the table "informacion" if the password and the user from the administrador table are the same as the typed in the text boxes, but i haven't found the way.
administradorandinformaciontable ?