java - Error code 1241, SQL state 21000: Operand should contain 1 column(s) -


i'm working query , following error code:

error code 1241, sql state 21000: operand should contain 1 column(s)

select * room room.id in ( select room.id, room.name, room.capacity, booking.start, booking.end room left join booking on room.id = booking.room ) 

you dont need subquery. can try this:

select * room left join booking on room.id = booking.room 

Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -