我有这样的条款:SQL:子句新手语法错误
"Select *
From
(
Select sedi_i18n.*,
0 orden
From table sedi_i18n
Where culture= 'italiano'
Union
Select sedi_i18n.*, 1 orden
From table sedi_i18n
Where culture<> 'italiano'
)
Order By orden, culture";
但我发现了这个错误:
SQLSTATE[42000]: Syntax error or access violation: 1064 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 'table sedi_i18n Where culture= 'italiano' Union Select sedi_i18n.*, 1 or' at line 6
任何想法?
问候
哈维