Note:
When writing scripts, many times you cannot get the desired value directly from the corresponding data, and you need to query the database; or, after some interfaces are executed, you need to modify the data in a certain table in the database. In this case, you need to SQL is used to help complete the script.
1. When you need to execute SQL after executing part of the script, first add the database request plug-in, as shown in the figure below to configure it;
Note:
The database application name has been explained in the previous article, click here ;
2. Quote the value queried in the data ;
Note: When quoting, the value of the referenced database must be + "_1" after the name, as shown in the figure: stone_id_1.