Could you tell me how to write the SQL statement?
CodePudding user response:
Why don't you directly in the SQL statement where conditions set directly to filter out all check out of the results is not you wantCodePudding user response:
Result1=SELECT TOP 50 * FROM table ORDER BY ABS (value1-10);Result1=SELECT TOP 10 * FROM result1 ORDER BY ABS (value2-20);
To achieve this effect, how to set up the where condition?
CodePudding user response:
Search nested SQL queries