我在我的应用程序中使用了这个带有几个连接的查询。当我在远程连接到homestead VM的mysql客户端(SQLYog)中运行查询时,我得到了正确的结果。当我通过SSH登录VM并运行MySQL并运行查询时,我得到了正确的结果。然而,当查询在Laravel/应用程序中运行时,结果是不同的,我不明白为什么!`bursary_administrator_id`=1
GROUP BY monthly_contribution MySQL</
我有这个代码 SELECT * from bills INNER JOIN bills_categories ON bills.id = bills_categories.bill_id 当我在MySQLPHPmyadmin中使用这个SQL查询时,它给出了正确的结果,但是当我在laravel 8中使用相同的结构时,它给出了不同的结果。这是用laravel编写的查询构建器代码 public function index() $bill = DB::table(
当我试图用php artisan migrate --path="2022_04_17_161039_create_cruds_table.php"命令迁移laravel中的一个表时,我得到了这个错误-Illuminate\Database\QueryException
could not find driver (SQL: select * from information_schema.tableswhere table_schema = crud and table_name = migrations and table_t