select * from table where sx_id = str;
其中str是从另一个页面传来的值,也就是说如果当前页面的操作sx_id = str那么只返回当前指定的记录,其中str是用页面传值的方式传过来的,这样写对吗