Posts by Túlio Calazans • 144 points
5 posts
-
1
votes1
answer36
viewsA: How to select and assign the quantity
Okay! It was a short while before you hit! The correct query would be: SELECT U.* , (SELECT COUNT(*) FROM uniforms u0 where u0.id = U.UserId ) as quantidade from uniforms_group U Obs.: Since I…
-
1
votes2
answers63
viewsA: How to center 02 Textview of Videoview
You can’t set that in a Linearlayout because of the need to define its orientation. Exchange Linearlayout for a Relativelayout and add attributes to the 2 textViews: android:gravity="center"…
-
3
votes1
answer3394
viewsA: Center image in the middle of Android screen
Change the value of the attribute android:layout_gravity for: android:layout_gravity="center_horizontal|center_vertical" or just: android:layout_gravity="center"…
-
1
votes1
answer456
viewsA: Insert accented word in MYSQL
Try adding this other query before the query: SET NAMES utf8; If this works, your bank’s charset has not been set correctly. Check that the charset is actually set to utf8 (only "utf8"). However, if…
-
0
votes1
answer57
viewsA: Error in Query Mysql
Hello! You should write your query as follows: select * from denuncia where resolution IS NOT NULL AND (status='aprovado' OR status='reprovado')
mysqlanswered Túlio Calazans 144