新乡民调(来自息县民调) - 主标

sql_20180507.sql 588B

12345678
  1. /****** Script for SelectTopNRows command from SSMS ******/
  2. SELECT *
  3. FROM T_Call_OutAnswers ans
  4. join T_Ask_Question que on ans.F_QID=que.F_QuestionId
  5. where 1=1
  6. and que.F_Type=3
  7. --and F_QID in (select F_QuestionId from T_Ask_Question where F_Type=3 )
  8. order by F_OptOn desc