skip to Main Content

SQL VIEW (phpMyadmin) that uses functions

Thank to your help I made a view in my database called 'people' that retrieve data using three functions called 'isUserVerified', 'hasUserPicture' and 'userHobbies' from two tables called 'users' and 'user_hobbies': SELECT `u`.`id` AS `id`, `isUserVerified`(`u`.`id`) AS `verification`, `hasUserPicture`(`u`.id) AS…

VIEW QUESTION

Creating view in phpmyadmin

When i try to create view like this CREATE VIEW data2tables AS SELECT * FROM Employees e INNER JOIN Computers c ON e.id = c.id WHERE e.name = 'Georgi' AND c.department = 'Sales' it gives me error saying that #1060…

VIEW QUESTION
Back To Top
Search