Looking for a sql conversion to laravel format for a program. Please, Convert the sql into format of laravel

SELECT (ch.category) AS category1, (product.category) AS category2 FROM (SELECT SUM(point), category FROM history GROUP BY category ASC) AS ch,product WHERE product.category IN (SELECT category FROM (SELECT SUM(point), category FROM history GROUP BY category ASC) AS ch) I want to write this on the Controller file. Please find me a way out. Thank you.

Details

VueJS transition on element in a loop?

This is my code: I want to create a transition on the HelloWorld Component, everytime the data gets updated. The transition itself works fine <transition name=”fade”> <p v-if=”awesome”>Vue is awesome</p> </transition> Here are my “cards” which are created dynamically. <v-row no-gutters> <v-col cols=”12″ sm=”4″ md=”4″ v-for=”(todo, index) in todos” v-bind:key=”index”> <v-card class=”pa-2″ outlined tile> <transition…

Details