0
我有如下sphinx的屬性。思維獅身人面像sql_range_query錯誤索引
meeting_feedback_count = <<-SQL
SELECT meetings.*
FROM meetings
JOIN member_meetings mm
ON mm.meeting_id = meetings.id
JOIN meeting_feedbacks mf
ON mf.member_meeting_id = mm.id
GROUP BY meetings.id
SQL
has meeting_feedback_count, :as => :has_feedback, :type => :boolean
我在mysql控制檯執行sql,它似乎工作正常。但我得到的錯誤。有沒有辦法解決,。
sql_range_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*)