But arent you tired of the same laravel amatuer discussions?

|
sobirjonovs 2021-05-13 18:28:25
sobirjonovs 2021-05-13 18:27:49
Anyway, whoever says I’m ready for help, you should contact him first

otherwise it will be disrespecting

ktmsulaim 2021-05-13 18:28:32
sobirjonovs 2021-05-13 18:26:11
try and show the result before asking

Sry…it didn’t help

SureshLaraDev 2021-05-13 18:28:41
Lol dude..I contacted him and asked him to tell me and he replied…”tell you what”
ktmsulaim 2021-05-13 18:28:54
It shows unknown column total_amount!
sobirjonovs 2021-05-13 18:29:25
ktmsulaim 2021-05-13 18:28:32
Sry…it didn’t help

Interesting… Perhaps someone helps you who faced this problem before

SureshLaraDev 2021-05-13 18:29:44
sobirjonovs 2021-05-13 18:28:25
otherwise it will be disrespecting

kids never understand.

SureshLaraDev 2021-05-13 18:30:57
ignore him
simon_an 2021-05-13 18:31:07
ktmsulaim 2021-05-13 18:28:54
It shows unknown column total_amount!

Check if you have a column
total_amount
in your table

SureshLaraDev 2021-05-13 18:31:12
just ignore him
ktmsulaim 2021-05-13 18:31:31
simon_an 2021-05-13 18:31:07
Check if you have a column
total_amount
in your table

It’s alias… I’ve shared my code above…pls have a look

SureshLaraDev 2021-05-13 18:31:59
cool
simon_an 2021-05-13 18:32:43
ktmsulaim 2021-05-13 18:31:31
It’s alias… I’ve shared my code above…pls have a look

Where is the code?

ktmsulaim 2021-05-13 18:33:07
ktmsulaim 2021-05-13 18:24:19
Hi,
Can I apply where clause on a alias in mysql?

DB::table(‘orders’)->select(“users.name”, “users.id”, DB::raw(“SUM(orders.amount) as total_amount”))
->join(“users”, ‘orders.user_id’, ‘=’, ‘users.id’)
->orderBy(“total_amount”, “desc”)
->groupBy(‘users.id’)
->take(5)
->get();

Now I want to apply where condition on total_amount. Any help would appreciated!!!

Here it’s

natghi2010 2021-05-13 18:39:33
would you date him if he was
natghi2010 2021-05-13 18:40:08
you guys could code together on your first date
simon_an 2021-05-13 18:41:59
Having some fun
Siberfx 2021-05-13 18:42:29
I am not against it guys just it can be weird by mistake :))
natghi2010 2021-05-13 18:42:33
but arent you tired of the same laravel amatuer discussions?
natghi2010 2021-05-13 18:42:47
“why is my controller not working”
natghi2010 2021-05-13 18:43:00
“because you didnt make functions in it”
Siberfx 2021-05-13 18:43:10
so I dont want anyone get a punishment for no reason :))
simon_an 2021-05-13 18:43:23
Programming is so hard that we can’t do without having some humor.
Siberfx 2021-05-13 18:43:49
yea, put your fingers into your nose, when get bored you know 😛
Siberfx 2021-05-13 18:44:15
do mining there
natghi2010 2021-05-13 18:44:36
Ive faced a lot of health issues here
simon_an 2021-05-13 18:44:46
That’s a Turkish joke, I guess
natghi2010 2021-05-13 18:45:00
people taking pictures of their screen blinding me
sobirjonovs 2021-05-13 18:45:03
simon_an 2021-05-13 18:44:46
That’s a Turkish joke, I guess

But he is belarussian

Siberfx 2021-05-13 18:45:10
nah, we turks are making rude jokes, you might not accept that easy
simon_an 2021-05-13 18:45:34
I don’t understand Turkish jokes
Siberfx 2021-05-13 18:45:39
sobirjonovs 2021-05-13 18:45:03
But he is belarussian

I live in Belarus and yeah I am a Turkish

Siberfx 2021-05-13 18:46:20
its so nice people knows about me 😛
Yislam 2021-05-13 18:46:27
Are Turkish girls beautiful?😂
natghi2010 2021-05-13 18:46:36
Yislam 2021-05-13 18:46:27
Are Turkish girls beautiful?😂

are humans tall?

Siberfx 2021-05-13 18:46:44
like anywhere else
|