Unknown column 'main.js' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = main.js and session_id = "q09s7i0f871hi241esv9i8vel3"