Posts by Futebol Arts Variados • 43 points
6 posts
-
-3
votes1
answer1059
viewsQ: Error: Unable to locate or load Olamundo main class.java
I’m trying to compile and run a "hello world" in Java from the command line. My code is: public class OlaMundo{ public static void main(String[] args){ System.out.println("Oi , funcionou"); } } I’m…
-
1
votes2
answers683
viewsA: Sum (SUM) of an irregularly formatted column
Dude, that depends a lot ,did you use float or double? But you can in create use decimal, example Create table name ( // here I am passing two houses after the comma decimal weight(3, 2) not null,…
-
-2
votes1
answer766
viewsQ: Relational library model, huh?
This model I made this cool or is redundant yet? [Edited] The database has been modified. Can I now have better queries? Here’s how it is now:…
-
1
votes1
answer207
viewsQ: Add fields in a select
As that puts the idautor and idobra in this my SELECT: CREATE TABLE Obra_Assunto ( idassunto INTEGER NOT NULL, idobra INTEGER NOT NULL, PRIMARY KEY (idassunto, idobra), FOREIGN KEY…
-
0
votes2
answers73
viewsQ: Validate only 1 and 2 in an sql table in the relational and logical model?
Good morning, as I do to validate values using relational and logical relationships , where the employee can only enter values below? 1: Disponível 2: Emprestado…
postgresqlasked Futebol Arts Variados 43 -
-1
votes1
answer61
viewsQ: Code error repeating values in threads?
#include <pthread.h> #include <stdio.h> void *Operacao(void *soma) { int n; printf(“Digite o primeiro numero:”); scanf("%d", &n); printf(“Digite o segundo numero:”); scanf("%d",…