我需要創建一個視圖:employee_view CREATE VIEW employee_view (Name_of_employee, Name_of_PL, Name_of_manager)
AS
(
Need help here!
)
Raj is an employe
Vijay is a PL
Kumar is a manager
爲視圖列中的數據是從一個單一的柱來的表
我試圖使用我的自定義包的視圖,而不將它們添加到view.php conf文件。我創建了以下服務提供商並將其添加到app.php文件中。 class FooServiceProvider extends ServiceProvider
{
public function boot()
{
$this->loadViewsFrom(__DIR__.'/../views