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
Post a Comment