Unknown column 'main.css' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = main.css and session_id = "4tvkqifjppbfs00lc6cuh9vn80"