MYSQL查询在我的Web应用程序中返回不正确的结果

时间:2016-11-10 12:48:28

标签: php mysql

我想获得申请特定类别的人员名单,但这些人员无法获得正确的结果

以下是我尝试的查询

private func setCursorPosition(input: UITextField, position: Int) {
    let position = input.position(from: input.beginningOfDocument, offset: position)!
    input.selectedTextRange = input.textRange(from: position, to: position)
}

问题出现在最后一个条件下它会带来所有记录都在candidate_selected_category表a中并且具有有效值1

1 个答案:

答案 0 :(得分:0)

似乎在这一行的末尾遗漏了一些东西:

select s_p_I.name,p_s.Seatno,t_s

t_s之后应该有一个字段名称)

在第二行中,您应该对从

中选择的不同表使用JOIN