Syntax error in a correct query while creating a view in phpMyAdmin -


i'm trying create view following query:

select      `logs`.`id`,     `logs`.`date`,     `logs`.`full log`,     `logs`.`medium log`,     `logs`.`minimal log`,     `machines`.`name` `machine name`      `logs` left join     `machines` on     `logs`.`machine id` = `machines`.`id`; 

it works when executed in mysql, reason phpmyadmin doesn't allow me create view based on query. following error:

#1064 - have error in sql syntax; check manual corresponds mariadb server version right syntax use near 'as select      `logs`.`id`,     `logs`.`date`,     `logs`.`full log`,     `logs' @ line 4 

i have no idea why error occurs because query correct.

the problem phpmyadmin doesn't provide default value view name if "view name" field empty in view configuration dialog. had enter name of view. in opinion should make field mandatory.


Comments

Popular posts from this blog

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -