sqlite - Create View of MYSQL to sqlite3 -


i have 2 views in mysql , when execute in sqlite3 throws me error

error: near "(" 

i have cheked it: http://www.sqlite.org/lang_createview.html

the views:

create view `municipios_extendido` (select `municipios`.`municipio` `municipio`,`provincias`.`provincia` `provincia`,`comunidades`.`comunidad` `comunidad`,`municipios`.`latitud` `latitud`,`municipios`.`longitud` `longitud` ((`municipios` join `provincias` on((`provincias`.`id` = `municipios`.`provincia_id`))) join `comunidades` on((`provincias`.`comunidad_id` = `comunidades`.`id`))))   create view `municipio_posicion` select distinct `c`.`name` `municipio`,`m`.`provincia` `provincia`,`m`.`comunidad` `comunidad`,`m`.`latitud` `latitud`,`m`.`longitud` `longitud` (`xhwpk_k2_categories` `c` join `municipios_extendido` `m`) (`c`.`name` = `m`.`municipio`)  

you have ((municipios join provincias on((`provincias picture


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -