Posts by Salguod • 24 points
6 posts
-
0
votes1
answer29
viewsA: I need to show you the details of the customer who bought the most
solved like this: select C.nome, count(CC) as total_compras from carrinho_de_compras as CC, clientes as C where C.codigo = CC.cod_cliente group by C.codigo having count(CC) = (select MAX( ( select…
-
0
votes1
answer29
viewsQ: I need to show you the details of the customer who bought the most
This query is giving error: select c.* from carrinho_de_compras as cc inner join clientes as c on c.codigo = cc.cod_cliente inner join produtos as p on p.codigo = cc.cod_produto where (select…
-
1
votes1
answer765
viewsQ: Typeerror: Cannot destructure Property `name` of 'Undefined' or 'null'
I’m using jest along with supertest to test my application endpoints. The tests with the get requests are working, but the test with the post request is giving error: clientRoutes.test.js const…
-
0
votes1
answer149
viewsA: Property 'videoThumb' does not exist on type 'Uniontype'. Property 'videoThumb' does not exist on type 'Image'
You have defined that your Uniontype image array can be either video or image, and not both at the same time, so you make this error. change: type UnionType = Video | Image To: type UnionType =…
-
-3
votes1
answer38
viewsA: Exchange text from the title element with html and javascript
Would it be close to the code below? Voce can add the span tag next to the text, and change the function text() to html() so you can recognize text together with html and change the colors. function…
-
-1
votes1
answer1283
viewsA: Align items right inside a flexbox
In your CSS, in the line where Voce put: justify-content: flex-start; change to: justify-content: flex-end;