educative.io

Educative

Quey in the makeBooking() method

In line 26, the following is used:

String selectSQL = “Select * From ShowSeat where ShowID=? && ShowSeatID in (?) && isReserved=0”;

My query is, ShowSeat has no attribute ShowID, how is the db query being carried out? Am I missing something?

@Varun2 Thanks for pointing this out, we will look into this and update the content accordingly.