Posts by gai sensei • 3 points
3 posts
-
0
votes1
answer224
viewsQ: Filter an object array according to field
Doing so: $total_tipo = $this->chamado->contagem('tipo'); foreach ($total_tipo as $total_tip){ print_r($total_tip); } I’m getting this result stdClass Object ( [tipo] => 1 [quantidade]…
phpasked gai sensei 3 -
-3
votes1
answer204
viewsQ: Detect digit repetition in Java
I need to make a program that reads a positive integer N. After reading this number, the program must evaluate if there are repeated digits in the number. For example: in 234571 there are no…
-
-2
votes1
answer295
viewsQ: You can’t specify target table 'pessoa' for update in FROM clause
I am testing the operation of a subquery (subconsulta) and executing the command below: DELETE FROM pessoa WHERE id IN(SELECT id FROM pessoa WHERE id=2 ); the following error occurs: You can’t…
mysqlasked gai sensei 3