Answer the question
In order to leave comments, you need to log in
How to submit an update request?
Three tables: usersam (idussam, idsam, statyssam,lvl), reis (idsam, idnaprav, dtbegin, dtend, id_reis), polosa (idps, idpolosa, id_user, idsam, idnaprav). How to change the fields in the table polosa and usersam with one query, by condition? If polosa.idsam=0 and if reis.dabegin is greater than dtend, then set the polosa.idsam field to reis.idsam, polosa.idnaprav=reis.idnaprav, usersam.statyssam='On Landing'.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question