class User extends Model {}
Note that we did not tell Eloquent which table to use for our User model. The "snake case", plural name of the class will be used as the table name unless another name is explicitly specified. So, in this case, Eloquent will assume the User model stores records in the users table. You may specify a custom table by defining a table property on your model:
class User extends Model {
protected $table = 'my_users';
}
select cast(x.number as real) / cast(y.number as real)
from
(
SELECT value as number from a_analiz_data where id = 6
) x
join
(
SELECT value as number from a_analiz_data where id = 5
) y on 1=1