Home > database > Mysql conditions in accordance with the conditions of matching step by step
Mysql conditions in accordance with the conditions of matching step by step
Time:09-21
If (a table contains the specified user) continued to match the next data Else does not contain a table named user, to match the b table users, if we can match, then the data meet the requirements, a table to match the next data, if there are no match to the specified user b table, a table this record does not meet the requirements, continue to match the next data Change logic without a stored procedure, use SQL statements can be implemented? How to implement, please everyone a great god answer, thank you very much